Re: eth0 down after upgrade

2005-10-11 Thread Tobias Krais
Hi Craig,

 I have had lots of problems doing an apt-get dist-upgrade since last
 week. Now my network connection doesn't work. Before the apt-get
 upgrade I was using eth0 to connect to a DSL modem/router while the
 wireless interface (ra0) was disconnected. Now I find out that the
 computer is using ra0, eth0 is inactive and I can't find out why or
 how to activate eth0.
 
 Has there been any recently upgraded packages that would have screwed
 up my network configuration?
 
 When I try to active eth0 (from the GUI admin) it fails saying that it
 is not set up properly. Huh? Everything WAS set up properly a week
 ago.
 
 I can use the internet now via the ra0 interface. Also my webserver is
 running, telnet and sshd are running as normal. However, I cannot
 access these servers from any other machine - not even from the local
 network (from a wireless laptop, using the local ip for access).

sounds interesting, but please tell me more. One hint in advance. Use
the new driver for your Ralink wireless card. Then ra0 changes to eth1.
Now, please paste /etc/network/interfaces.

Do you use a router or just a DSL modem?

Can you manually start your eth0 device? Try (supposing your network is
192.168.1.0:
ifconfig ra0 down
ifconfig eth0 192.168.1.5 up
route add default gw 192.168.1.1 and then ping your router.

Greetings, Tobias


 NOTE:
 the DSL modem/ router is functioning properly. I restarted it, tryed
 it with another computer and everything is working the same as always.
 My laptop can use either wireless or ethernet just fine. When I reboot
 the debian box into windows it uses both the wireless and ethernet
 interfaces OK.
 
 IFCONFIG:
 ---
 *note* it isn't showing an inet address
 
 ifconfig
 eth0  Link encap:UNSPEC  HWaddr
 00-E0-18-00-00-86-89-0F-00-00-00-00-00-00-00-00
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:5 dropped:5 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
 NETSTAT
 
 netstat -i
 Kernel Interface table
 Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR Flg
 eth0   1500 0 0  0  0  00  5  5  0 
 BMRU
 lo16436 0   538  0  0  0  538  0  0  0 LRU
 ra01500 0   2203459  0  0  0  2458906506506  0 
 BMRU
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: eth0 down after upgrade

2005-10-11 Thread Adam Stiles
On Tuesday 11 October 2005 09:16, Craig Hagerman wrote:
 Hi,

 I have had lots of problems doing an apt-get dist-upgrade since last
 week. Now my network connection doesn't work. Before the apt-get
 upgrade I was using eth0 to connect to a DSL modem/router while the
 wireless interface (ra0) was disconnected. Now I find out that the
 computer is using ra0, eth0 is inactive and I can't find out why or
 how to activate eth0.

 Has there been any recently upgraded packages that would have screwed
 up my network configuration?

 When I try to active eth0 (from the GUI admin) it fails saying that it
 is not set up properly. Huh? Everything WAS set up properly a week
 ago.

 I can use the internet now via the ra0 interface. Also my webserver is
 running, telnet and sshd are running as normal. However, I cannot
 access these servers from any other machine - not even from the local
 network (from a wireless laptop, using the local ip for access).

 I have no idea what happened here or what to try next. I would really
 appreciate any advice for solving this problem.

 Craig

[* stuff deleted *]

What have you got in /etc/network/interfaces?  If this file has become 
corrupt, then it might well bitch up your network settings.

-- 
AJS


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: eth0 down after upgrade

2005-10-11 Thread Craig Hagerman
On 10/11/05, Tobias Krais [EMAIL PROTECTED] wrote:
 sounds interesting, but please tell me more. One hint in advance. Use
 the new driver for your Ralink wireless card. Then ra0 changes to eth1.
 Now, please paste /etc/network/interfaces.

The Ralink driver is already the newest. (Hasn't been updated since
sometime in 2004)

/etc/network/interfaces --
...
## The loopback network interface ###
auto lo
iface lo inet loopback

### The primary network interface ###

#iface eth0 inet dhcp
iface eth0 inet static
address 220.42.128.76
netmask 255.255.252.0
gateway 220.42.131.254

### The wireless network interface ###

iface ra0 inet dhcp
wireless-essid YahooBB

auto ra0
...

NOTE - Until recently I had only the dhcp line in the above. I
rebooted into windows, did an ipconfig and then entered that exact
information in (above) as static ip information. (Yeah, I know the
netmask is non-standard and the gateway is 131 instead of 128 ... but
that is what the working configuation under windows displayed.)

Also, I added the line auto eth0 to the above, but after a restart
it has disappeared.

 Do you use a router or just a DSL modem?

It is a DSL modem with both wireless and ethernet. No separate router.

 Can you manually start your eth0 device? Try (supposing your network is
 192.168.1.0:
 ifconfig ra0 down
 ifconfig eth0 192.168.1.5 up
 route add default gw 192.168.1.1 and then ping your router.

Nope. This didn't work.

I have tried:
 ifconfig eth0 up
 /etc/init.d/networking restart

I have tried to activate / deactivate either of the eth0 or ra0
interfaces via the GUI. I have rebooted a few times as well. Nothing
has had any effect other than sometimes turning OFF the wireless.



Re: eth0 down after upgrade

2005-10-11 Thread mikepolniak
On 22:38 Tue 11 Oct , Craig Hagerman wrote:
 On 10/11/05, Tobias Krais [EMAIL PROTECTED] wrote:
  sounds interesting, but please tell me more. One hint in advance. Use
  the new driver for your Ralink wireless card. Then ra0 changes to eth1.
  Now, please paste /etc/network/interfaces.
 
 The Ralink driver is already the newest. (Hasn't been updated since
 sometime in 2004)
 
 /etc/network/interfaces --
 ...
 ## The loopback network interface ###
 auto lo
 iface lo inet loopback
 
 ### The primary network interface ###
 
 #iface eth0 inet dhcp
 iface eth0 inet static
 address 220.42.128.76
 netmask 255.255.252.0
 gateway 220.42.131.254
 
 ### The wireless network interface ###
 
 iface ra0 inet dhcp
 wireless-essid YahooBB
 
 auto ra0
 ...
 
 NOTE - Until recently I had only the dhcp line in the above. I
 rebooted into windows, did an ipconfig and then entered that exact
 information in (above) as static ip information. (Yeah, I know the
 netmask is non-standard and the gateway is 131 instead of 128 ... but
 that is what the working configuation under windows displayed.)
 
 Also, I added the line auto eth0 to the above, but after a restart
 it has disappeared.
 
  Do you use a router or just a DSL modem?
 
 It is a DSL modem with both wireless and ethernet. No separate router.
 
  Can you manually start your eth0 device? Try (supposing your network is
  192.168.1.0:
  ifconfig ra0 down
  ifconfig eth0 192.168.1.5 up
  route add default gw 192.168.1.1 and then ping your router.
 
 Nope. This didn't work.
 
 I have tried:
  ifconfig eth0 up
  /etc/init.d/networking restart
 
 I have tried to activate / deactivate either of the eth0 or ra0
 interfaces via the GUI. I have rebooted a few times as well. Nothing
 has had any effect other than sometimes turning OFF the wireless.
 
edit your /etc/network/interfaces to use dhcp this will reset
/etc/resolv.conf and get your interfaces up

auto eth0
iface eth0 inet dhcp


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: eth0 down after upgrade

2005-10-11 Thread Tobias Krais
Hi Craig,

sounds interesting, but please tell me more. One hint in advance. Use
the new driver for your Ralink wireless card. Then ra0 changes to eth1.
Now, please paste /etc/network/interfaces.
 
 
 The Ralink driver is already the newest. (Hasn't been updated since
 sometime in 2004)

apt-cache search ralink

There is a new and far better version. Well it will not solve your
problems, but anyway.

 /etc/network/interfaces --

 iface eth0 inet static
 address 220.42.128.76
 netmask 255.255.252.0
 gateway 220.42.131.254

 iface ra0 inet dhcp
 wireless-essid YahooBB
 
 auto ra0

For me it seems that you want to connect with two interfaces to the same
router. Does the router like this? Have you tried just bringing up eth0
on start?

Thats my config for comparison. When I try to bring up both, I have
routing problems.
-%-
iface eth0 inet static
address 192.168.1.7
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

# Wireless eth1
auto eth1
iface eth1 inet static
address 192.168.1.6
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
-%-

Greetings, Tobias


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]