Re: 1.3.1 Upgrading Probs
Peter Weiss wrote: > > Hello there, > > maybe you can help -- I didn't expect these problems when upgrading to > 1.3.1. the upgrade itself went smoothly but now I'm unable to use any of > my networking interfaces: > > The network devices (eth0 and lo0) are set up correctly, I can do a ping > but all other services like telnet/ rlogin and ftp return a "connection > refused error" after a timeout. > > The netdevices look as they should: > # ifconfig > loLink encap:Local Loopback > inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 > UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 > RX packets:59351 errors:0 dropped:0 overruns:0 > TX packets:59351 errors:0 dropped:0 overruns:0 > > eth0 Link encap:10Mbps Ethernet HWaddr 00:00:C0:56:5F:A4 > inet addr:193.96.166.51 Bcast:193.96.166.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 > TX packets:0 errors:31 dropped:0 overruns:0 > Interrupt:10 Base address:0x250 Memory:d-d4000 Note that TX show 31 errors, no packets?! This would seem to indicate a problem. Are you *sure* you weren't APPENDing ethernet params to your lilo settings? Perhaps you have one of those adapters which has two different media and have to choose the media by passing an 'ether=blah,blah,eth0' to the kernel. > # route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse Iface > 193.96.166.00.0.0.0 255.255.255.0 U 0 01 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 02 lo > > The Gateway addresses sound quite strange to me. Maybe this causes the > problem? > > I'm starting the network services with a slightly modified version of the > standard network script: > > # Configure the loopback device. > ifconfig lo 127.0.0.1 > route add -net 127.0.0.0 dev lo > > # Configure the ethernet device or start SLIP/PPP below. > IPADDR="193.96.166.51" > NETMASK="255.255.255.0" > NETWORK="193.96.166.0" > BROADCAST="193.96.166.255" > GATEWAY="" > > /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} > /sbin/route add -net ${NETWORK} > [ ! -z "$GATEWAY" ] && /sbin/route add default gw ${GATEWAY} > > Having spend over a day with upgrading I'm frustrated and would appreciate > any help. BTW: The script worked with no probs and on the same hardware > with 1.2.x debian. > > It seems to be no library or configuration problem on the rlogin's side, > cause when I'm connected to my ISP all services work. > > Thanks -- Peter > -- Jens B. Jorgensen [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
RE: 1.3.1 Upgrading Probs
Peter, I had a similar problem once. Check the file /etc/inetd.conf My had been overwritten once when upgrading a while back. Make sure the services you want to allow are enabled. Dave [EMAIL PROTECTED] -- From: Peter Weiss[SMTP:[EMAIL PROTECTED] Sent: Wednesday, August 06, 1997 9:58 AM To: debian-user@lists.debian.org Subject: 1.3.1 Upgrading Probs Hello there, maybe you can help -- I didn't expect these problems when upgrading to 1.3.1. the upgrade itself went smoothly but now I'm unable to use any of my networking interfaces: The network devices (eth0 and lo0) are set up correctly, I can do a ping but all other services like telnet/ rlogin and ftp return a "connection refused error" after a timeout. The netdevices look as they should: # ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:59351 errors:0 dropped:0 overruns:0 TX packets:59351 errors:0 dropped:0 overruns:0 eth0 Link encap:10Mbps Ethernet HWaddr 00:00:C0:56:5F:A4 inet addr:193.96.166.51 Bcast:193.96.166.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 TX packets:0 errors:31 dropped:0 overruns:0 Interrupt:10 Base address:0x250 Memory:d-d4000 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 193.96.166.00.0.0.0 255.255.255.0 U 0 0 1 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 2 lo The Gateway addresses sound quite strange to me. Maybe this causes the problem? I'm starting the network services with a slightly modified version of the standard network script: # Configure the loopback device. ifconfig lo 127.0.0.1 route add -net 127.0.0.0 dev lo # Configure the ethernet device or start SLIP/PPP below. IPADDR="193.96.166.51" NETMASK="255.255.255.0" NETWORK="193.96.166.0" BROADCAST="193.96.166.255" GATEWAY="" /sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} /sbin/route add -net ${NETWORK} [ ! -z "$GATEWAY" ] && /sbin/route add default gw ${GATEWAY} Having spend over a day with upgrading I'm frustrated and would appreciate any help. BTW: The script worked with no probs and on the same hardware with 1.2.x debian. It seems to be no library or configuration problem on the rlogin's side, cause when I'm connected to my ISP all services work. Thanks -- Peter -- -- Peter Weiss, Sonnenstraße 17, D-26123 Oldenburg, Tel: 0441/ 81058 http://www.informatik.uni-oldenburg.de:/~weissp -- -- Slow has got 4 letters so has calm; speed has got 5 letters so has death -- -- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: 1.3.1 Upgrading Probs
You should have your gateway in your network startup file (/etc/init.d/network ?). Now you have only GATEWAY="" and it does not look right. After running the modified network startup script the route command should output something like this: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 193.96.166.00.0.0.0 255.255.255.0 U 0 01 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 02 lo 0.0.0.0 193.96.166.1 0.0.0.0 UG1 01 eth0 GATEWAY in the network startup file Otherwise the ifconfig and route output look ok. Peter Weiss wrote: > [cut] > # route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse Iface > 193.96.166.00.0.0.0 255.255.255.0 U 0 01 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 02 lo > [cut] > > I'm starting the network services with a slightly modified version of > the standard network script: [cut] > # Configure the ethernet device or start SLIP/PPP below. > IPADDR="193.96.166.51" > NETMASK="255.255.255.0" > NETWORK="193.96.166.0" > BROADCAST="193.96.166.255" > GATEWAY="" [cut] // Heikki -- Heikki Vatiainen * [EMAIL PROTECTED] Tampere University of Technology * Tampere, Finland -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .