On Sun, Aug 10, 2008 at 12:48:48PM -0700, Vwaju wrote: [snip] > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > I edited /etc/network/interfaces to look like this: > > # The loopback network interface > auto lo > iface lo inet loopback > > # The primary network interface > auto eth0 > > # configured for DHCP during Debian installation > # iface eth0 int dhcp > > iface eth0 inet static > address 207.237.37.110 > netmask 255.255.255.224 > network 207.237.37.96 > broadcast 207.237.37.127 > gateway 207.237.37.97 where did you get this info from ? > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > jupiter:~# /etc/init.d/networking restart > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > > I edited /etc/resolv.conf to include addresses of nameservers provided > by RCN. > > search > nameserver 207.172.3.8 # ns1.dns.rcn.net > nameserver 207.172.3.9 # ns2.dns.rcn.net > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > I edited /etc/hosts to include my hostname and domain: > > 127.0.0.1 localhost.localdomain localhost jupiter > > 207.237.37.110 jupiter.obliqueuniverse.org jupiter > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > jupiter:~# echo jupiter.obliqueuniverse.org > /etc/hostname > > jupiter:~# /bin/hostname –F /etc/hostname > > jupiter:~# hostname > jupiter.obliqueuniverse.org # shouldn't this be *just* the host > name? > > jupiter:~# hostname -f > jupiter.obliqueuniverse.org my hostname produces hufpuf hostname -f produces hufpuf.lan1.hme1.samad.com.au and cat /etc/hostname hufpuf take it as you want > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Now, I test the network configuration: > > jupiter:~# ping 209.200.229.100 > From 207.237.37.110 icmp_seq Destination Host Unreachable > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - before doing this first ping the first hop - the default gateway from above its ping -c 5 207.237.37.97 if that works try the dns servers ping -c 5 207.172.3.8 if that works try ping 209.200.229.100 again, but in another window do a tcpdump -pni eth0 and see what happens to the packets > - > Relevant observation: > > With the network configured for DHCP, I can run lynx: > > jupiter:~# lynx ipchicken.com > Current IP Address: 207.237.37.110 > > (Of course, I can't run lynx with the static configuration until I get > that configuration working!) > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > Relevant observation: > > With the network configured for DHCP, when I run ifconfig I get: > > Inet addr: 192.168.2.3 > Bcast: 192.168.2.255 > Mask: 255.255.255.0 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - These are non routable addresses, so my guess is you have your adsl modem in non-bridge mode (or natting mode), it is handing out ip addresses, the one above. If you want to handle the routeable addressess, then put the router in bridge mode, and run pppoe on the link box, this will cause other problems :) > - > Full Disclosure > > I am running Debian sarge, because that is the version that was used > in the book I am following to learn how to build an internet server. > I realize this raises security issues, but I am not building a > production server, only a *training* server. > > More to the point: Although sarge is no longer state-of-the-art, I > assume it should still be possible to configure it as an internet > server with a static IP address! > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - > > Again, many thanks if you have read this far! I am grateful for any > insight the Debian community can offer on this problem. > > Best Regards, > Vwaju > New York City > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > > -- "You're probably wondering why somebody who has been in politics is talking about Social Security. After all, it's been called the third rail of American politics. You grab a hold of it, and you get electrified." - George W. Bush 03/04/2005 South Bend, IN
Attachment:
signature.asc
Description: Digital signature