View Full Version : Tunnling and squid, what do they mean?
Adlee
Salam
Can some one explain to me what are the meanings of tunnling and squid in linux?
Moreover, I read about configuring the system to send internet data thru ppp0 and receive it on ppp1 and assign ppp0 to the modem and ppp1 to another device, in my case the dvb card. Is this true? How can I do it?
Salam
alaa
well squid is a web proxy server.
tunneling is as far as I understand it moving traffic for a certain protocol inside a connection established by another protocol.
so for instance if you have an insecure plain text protocol you can tunnel it through ssh to secure it.
cheers,
Alaa
Adlee
Thanks alaa. This means I misunderstood the term tunneling. I thought I can tunnel the internet back flow thru another device. I appreciate your quick reply as usual alaa.
I wish some one can answer the second quetion about ppp0 and ppp1.
Salam
alaa
I think I know that the answer to the first part of your seond question is right it is true, no idea how its done though.
cheers,
Alaa
Adlee
Salam
alaa
I have done an experiment with dvbtune and the pptp:
First dvbtone did the following:
[root@localhost dvbtune]# ./dvbtune -c 0 -f 11449000 -s 27531 -p v -n 3013 -D 3
Using DVB card "Zarlink MT312"
tuning DVB-S to L-Band:1107311556, Pol:V Srate=27531000, 22kHz=off
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_CARRIER
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Event: Frequency: 11449000
SymbolRate: 27531000
FEC_inner: 2
Bit error rate: 0
Signal strength: 15837
SNR: 51395
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI FE_HAS_SYNC
Successfully opened network device, please configure the dvb interface
[root@localhost dvbtune]# ifconfig -a dvb0_0
dvb0_0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST NOARP MULTICAST MTU:4096 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0xbc5
[root@localhost dvbtune]#
Second, I established a pptp connection with EOL and got the following:
Using interface ppp1
pptp-php-gtk: monitoring interface ppp1
connect: ppp1 <--> /dev/pts/2
CHAP authentication succeeded
local IP address 10.129.0.96
remote IP address 193.251.135.97
pptp-php-gtk: pppd process exit 0
pptp-php-gtk: routes added to remote networks
route add -host '193.251.135.97' dev 'dvb0_0'
SIOCADDRT: No such device
pptp-php-gtk: command failed, exit code 7
pptp-php-gtk: connected
I do not know why it says no such device here while in the first step it tells me every thing is ok! Can you figure out the reason from the data shown above?
vBulletin v3.0.1, Copyright ©2000-2004, Jelsoft Enterprises Ltd.