[Blackburn] Networking

Konrad Dąbrowski konraddabrowski at yahoo.co.uk
Sun May 25 21:46:01 BST 2003


Hello again everyone!

I still don't have ADSL, but I'm plannning to get it in the next month or so.

I've been trying to set up a network today. That works and the computers on it 
can ping each-other. However, I don't know how to get the internet shared 
amoung the computers. A computer (192.168.3.9) is connected to the internet 
using a dailup connection. It can use this connection, but 192.168.3.11 (the 
other computer) cant. They are both Debian Woody boxes. I think 192.168.3.9 
is configured to be a gateway: is this what it should be? If I try to ping 
something on the internet on 192.168.3.10, it cant resolve the domain name. 
If I give it an IP address to ping, 192.168.3.9 seems to send out the address 
192.168.3.10 as the pinging computer's IP, rather than its own (if I 
understand the output form tcpdump correctly).

Please could someone help. Should I be using squid? If so, how do I set it up?

Also, is it possible to run a program in X as root, when logged in as a normal 
user?

Thanks very much
Konrad

P.S. I attatch the outputs of route and ifconfig in case they are of use.
ifconfig on 192.168.3.9:

eth0      Link encap:Ethernet  HWaddr 00:20:AF:C6:DA:DD
          inet addr:192.168.3.9  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9505 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1587 errors:0 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:100
          RX bytes:927068 (905.3 KiB)  TX bytes:146644 (143.2 KiB)
          Interrupt:5 Base address:0x200

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11791 (11.5 KiB)  TX bytes:11791 (11.5 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:81.76.203.173  P-t-P:195.92.168.41  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:844 (844.0 b)  TX bytes:8580 (8.3 KiB)

route on 192.168.3.9:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
www.birminghamc *               255.255.255.255 UH    0      0        0 lo
fruitbat.lns.bi *               255.255.255.255 UH    0      0        0 ppp0
192.168.3.0     *               255.255.255.0   U     0      0        0 eth0
default         fruitbat.lns.bi 0.0.0.0         UG    0      0        0 ppp0

ifconfig on 192.168.3.10:

eth0      Link encap:Ethernet  HWaddr 00:C0:26:E2:29:D5
          inet addr:192.168.3.10  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:655 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8636 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:59960 (58.5 KiB)  TX bytes:840539 (820.8 KiB)
          Interrupt:11 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)

route on 192.168.3.9:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.3.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.3.9     0.0.0.0         UG    0      0        0 eth0


I've set the hostname (I think) to birminghamcounrtyclub.org and the two 
computers are www (192.168.3.9) and debian333 (192.168.3.10)





More information about the Blackburn mailing list