Re: networking broken (ifup, route add)
At 09:33 AM 06/13/2001 -0300, Miguel Griffa wrote: At 12:40 p.m. 12/06/01 -0500, you wrote: At 01:44 PM 06/12/2001 -0300, you wrote: At 11:05 a.m. 12/06/01 -0500, you wrote: At 12:57 PM 06/12/2001 -0300, Miguel Griffa wrote: SO, 1) what's wrong with ifup, 2) how to manually add localhost. try iface lo inet loopback (for 127.0.0.1) sorry, I should have said adding to interfaces -- yes; but that is broken (ifup).Hi, I couldn't keep on yesterday, if you still have the problem... please send me your /etc/network/interfaces and... If you configure everything manually, it works? meaning ifconfig eth0 up... -- Thanks a lot; I got it to work fine by a manual reconfigure, and then an apt-dist-upgrade brought in a new version of ifupdown, which fixed things. The problem was not in my configuration, that had worked for 9 months, it was that apt-get had trashed ifup! Thanks. Greg Dr. Gregory Guthrie [EMAIL PROTECTED] (641)472-1125 Fax: -1103 Computer Science Department School of Computing and Information Science Maharishi University of Management (Maharishi International University 1971-1995) http://www.mum.edu/cs_dept
Re: networking broken (ifup, route add)
oops, 10.10.10.0 != 10.10.0.0 according to routing tables, ifconfing should give you an address like 10.10.10.x is this correct? -- Good observation, error on my part. I corrected; omega:/local# cat netset # # emergency network setup ifconfig\ eth0 10.10.10.109 \ netmask 255.255.0.0\ broadcast 10.10.255.255 ifconfig\ localhost 127.0.0.1 \ netmask 255.255.0.0\ broadcast 10.10.255.255 route add default gw 10.10.0.1 This fixes routing (Thanks!), but localhost is still broken. and ifup... omega:/local# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface localnet* 255.255.0.0 U 0 0 0 eth0 default 10.10.0.1 0.0.0.0 UG0 0 0 eth0 omega:/local# ifup -a /etc/network/interfaces: Function not implemented ifup: couldn't read interfaces file /etc/network/interfaces omega:/local# THe problem came in because trying to work around the broken ifup, I made this manual setup, which I did wrong. SO, 1) what's wrong with ifup, 2) how to manually add localhost. Thanks. Gregory Guthrie [EMAIL PROTECTED] (641)472-1125Fax: -1103
Re: networking broken (ifup, route add)
At 12:57 PM 06/12/2001 -0300, Miguel Griffa wrote: SO, 1) what's wrong with ifup, 2) how to manually add localhost. try iface lo inet loopback (for 127.0.0.1) -- I think this is a /etc/network/interfaces specification, not an actual command: omega:/local# iface lo inet loopback bash: iface: command not found also notice ifconfig\ localhost 127.0.0.1 \ netmask 255.255.0.0\ broadcast 10.10.255.255 broadcast address is wrong -- Why? Looks OK to me. Gregory Guthrie [EMAIL PROTECTED] (641)472-1125Fax: -1103
networking broken (ifup, route add)
Help; after an apt-get fiasco, I seem mostly restored, but networking is still broken. (Thanks for other hints on those recoveries) Symptoms: 1) I can manually add etho, but not localhost, omega:/etc/apt# route add default gw 10.10.0.1 SIOCADDRT: Network is unreachable 2) ifup -a fails: omega:/etc/apt#ifup -a /etc/network/interfaces: Function not implemented ifup: couldn't read interfaces file /etc/network/interfaces omega:/etc/apt# Thus, routing is broken, and I have lots of subsidiary resulting problems. Suggestions? Gregory Gregory Guthrie [EMAIL PROTECTED] (641)472-1125Fax: -1103
Re: networking broken (ifup, route add)
On Mon, Jun 11, 2001 at 10:50:05PM -0500, Gregory Guthrie wrote: Help; after an apt-get fiasco, I seem mostly restored, but networking is still broken. (Thanks for other hints on those recoveries) Symptoms: 1) I can manually add etho, but not localhost, omega:/etc/apt# route add default gw 10.10.0.1 SIOCADDRT: Network is unreachable 2) ifup -a fails: omega:/etc/apt#ifup -a /etc/network/interfaces: Function not implemented ifup: couldn't read interfaces file /etc/network/interfaces omega:/etc/apt# Thus, routing is broken, and I have lots of subsidiary resulting problems. Place the appropriate lines in - /etc/network/interfaces and run - # /etc/init.d/networking restart Using you're settings the file should have the following format - iface eth0 inet static address 192.168.10.7 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 See - man interfaces for more. If you get errors post them to the list. hth, kent -- From seeing and seeing the seeing has become so exhausted First line of The Panther - R. M. Rilke