Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[INVALID] Network suddently stopped working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 8:54 pm    Post subject: [INVALID] Network suddently stopped working Reply with quote

My main computer stopped connecting properly to the network today (after a cold restart).

Eth0 is still up and has it's ip - the route is correct. I just can't ping any network system but itself.
I changed the ethernet cable to another one which I'm using on my notebook - its working (the cable, not the problem).
The kernel is doing fine since a long time, so I have no clue what's causing this issue.

no log I found has any useful information.
lspci shows:
Code:
00:14:0 Bridge: nVidiaCorporation MCP51 Ethernet Controller (rev a3)
uname -r shows: 2.6.38-gentoo-r7

I restarted forcedeth it seems to find everything, last line:
Code:
eth0: link up


restarting /etc/init.d/net.eth0 or network doesn't help at all.

I have no clue where to search for the problem.
btw: ~x86

Oh and till yesterday I was pretty up2date (I only masked kernels > 2.6.38).


Last edited by Manu311 on Sat Jul 09, 2011 2:12 am; edited 2 times in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 9:16 pm    Post subject: Reply with quote

are you using dhcp or fixed ip?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 9:23 pm    Post subject: Reply with quote

DONAHUE wrote:
are you using dhcp or fixed ip?

fixed ip - and since only 2 pcs are connected to the router (and there is no restriction in it) the ip should work (like it worked for years now).
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 9:35 pm    Post subject: Reply with quote

/etc/resolv.conf?
ping -c 2 8.8.8.8 ?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 9:38 pm    Post subject: Reply with quote

DONAHUE wrote:
/etc/resolv.conf?
ping -c 2 8.8.8.8 ?

Code:
nameserver 192.168.1.1
search 192.168.1.1

and I don't get why 8.8.8.8 should be a reachable ip (it's not)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 9:51 pm    Post subject: Reply with quote

it's a google public dns server and should be reachable

Code:
# ping -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=48 time=46.7 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=48 time=46.2 ms


summary: you can ping your router but you can't ping through the router

if the laptop pings through now but this machine does not I'd suspect a firewall or nat problem on the router.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 9:53 pm    Post subject: Reply with quote

Where did I say I can ping my router?
I can't.

Oh and my laptop is indeed able to ping 8.8.8.8
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 9:58 pm    Post subject: Reply with quote

does
Code:
ifconfig
show eth0
does
Code:
ls -l /etc/init.d/net.eth0
show
Quote:
/etc/init.d/net.eth0 -> net.lo

_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 10:01 pm    Post subject: Reply with quote

DONAHUE wrote:
does
Code:
ifconfig
show eth0
does
Code:
ls -l /etc/init.d/net.eth0
show
Quote:
/etc/init.d/net.eth0 -> net.lo
yes

edit:
before you ask me what ifconfig shows:
protokoll: ethernet
hwaddr: bl:ah:bl:ub:wh:at:ev:er
inet Addr: 192.168.1.103
BCast: 192.168.1.255
Mask: 255.255.255.0
and I'm to lazy to copy the rest. Oh maybe that could be usefull: "RX packets: alot; errors: 0 dropped: 0 overruns:0 frame:0"


Last edited by Manu311 on Fri Jul 08, 2011 10:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 10:04 pm    Post subject: Reply with quote

got an eth1?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 10:06 pm    Post subject: Reply with quote

DONAHUE wrote:
got an eth1?
nope
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 10:17 pm    Post subject: Reply with quote

change ip to 192.168.1.17 in /etc/conf.d/net then
Code:
/etc/init.d/net.eth0 restart


entries in /etc/conf.d/net no longer look like ( "blah" ) but just like "blah" ?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 10:23 pm    Post subject: Reply with quote

DONAHUE wrote:
change ip to 192.168.1.17 in /etc/conf.d/net then
Code:
/etc/init.d/net.eth0 restart


entries in /etc/conf.d/net no longer look like ( "blah" ) but just like "blah" ?
my conf.d/net looked like:
Code:
config_eth0=( "192.168.1.103 netmask ....." )

should I change that to:
Code:
config_eth= "192.168.1.103 netm......"

?

Changing to only .1.17 didn't fixed anything
EDIT: I changed it to without the (s didn't changed anything.
Btw I though this config file only changes ip adress and routes - why should that be fixed? It looks quite correct to me how it is - the problem must be somewhere else (I just have no clue where).
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 10:33 pm    Post subject: Reply with quote

I found something.
dmesg is now filled with some lines from forcedeth.
there are a lot of lines like:
forcedeth 0000:00:14:0: eth0: 3Bit 8Bit 8Bit 8Bitt // 3*8Bit // 3*8Bit
lines, after that:
Code:
Got tx_timeout. irq: 00000020
Ring at 30928000
Dumping tx registers

After that a few lines looking like I would say a tx registers dump.
After that again "Dumping tx ring" and the lines from the start go on.

those are repeating after a few time.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 08, 2011 10:50 pm    Post subject: Reply with quote

Here nothing like that:
dmesg | grep -i forcedeth
[ 6.829122] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
[ 6.829314] forcedeth 0000:00:08.0: PCI INT A -> Link[APCH] -> GSI 23 (level, low) -> IRQ 23
[ 6.829319] forcedeth 0000:00:08.0: setting latency timer to 64
[ 7.353919] forcedeth 0000:00:08.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:17:31:d9:a3:99
[ 7.353925] forcedeth 0000:00:08.0: highdma csum vlan pwrctl mgmt gbit lnktim msi desc-v3
[ 7.354164] forcedeth 0000:00:09.0: PCI INT A -> Link[AMC1] -> GSI 22 (level, low) -> IRQ 22
[ 7.354168] forcedeth 0000:00:09.0: setting latency timer to 64
[ 7.879478] forcedeth 0000:00:09.0: ifname eth1, PHY OUI 0x5043 @ 1, addr 00:17:31:d9:0d:00
[ 7.879483] forcedeth 0000:00:09.0: highdma csum vlan pwrctl mgmt gbit lnktim msi desc-v3

(two nics here}

when you changed the ip and restarted the NIC did ifconfig change, ip? tx errors? rx errors?

have any friends who can loan a card or a usb dongle?

openrc required the new format,
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Fri Jul 08, 2011 10:53 pm    Post subject: Reply with quote

DONAHUE wrote:
Here nothing like that:
dmesg | grep -i forcedeth
[ 6.829122] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
[ 6.829314] forcedeth 0000:00:08.0: PCI INT A -> Link[APCH] -> GSI 23 (level, low) -> IRQ 23
[ 6.829319] forcedeth 0000:00:08.0: setting latency timer to 64
[ 7.353919] forcedeth 0000:00:08.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:17:31:d9:a3:99
[ 7.353925] forcedeth 0000:00:08.0: highdma csum vlan pwrctl mgmt gbit lnktim msi desc-v3
[ 7.354164] forcedeth 0000:00:09.0: PCI INT A -> Link[AMC1] -> GSI 22 (level, low) -> IRQ 22
[ 7.354168] forcedeth 0000:00:09.0: setting latency timer to 64
[ 7.879478] forcedeth 0000:00:09.0: ifname eth1, PHY OUI 0x5043 @ 1, addr 00:17:31:d9:0d:00
[ 7.879483] forcedeth 0000:00:09.0: highdma csum vlan pwrctl mgmt gbit lnktim msi desc-v3

(two nics here}

when you changed the ip and restarted the NIC did ifconfig change, ip? tx errors? rx errors?

have any friends who can loan a card or a usb dongle?

the ip changed when I restarted net.eth0, I know that what I posted isn't normal. I got no tx or rx errors and I don't know anyone with a networkcard which isn't integrated into the mainboard
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 09, 2011 12:31 am    Post subject: Reply with quote

http://parkersamp.com/2011/05/help-gentoo-installed-openrc-and-net-eth0-wont-start/
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Sat Jul 09, 2011 12:36 am    Post subject: Reply with quote

net.eth0 is in runlevel default
next:
eth0 is started at runlevel fine and is configured fine (since it doesn't work neither if I configure it per hand) /etc/init.d/net.eth0 (re)start per hand does NOT work

that issue is not related to my problem

openrc 0.8.3-r1 was last emerged on 29.06.2011 - the network worked until 08.07.2001, I shutdown and start my system every day - so it worked at least 8 times after that happened.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 09, 2011 12:42 am    Post subject: Reply with quote

dead nic seems the only fit
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Sat Jul 09, 2011 12:53 am    Post subject: Reply with quote

DONAHUE wrote:
dead nic seems the only fit
looks like that's the cause ....
I booted a gentoo cd which isn't able to connect neither.
Back to top
View user's profile Send private message
Manu311
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2010
Posts: 128

PostPosted: Sat Jul 09, 2011 2:12 am    Post subject: Reply with quote

I just did a cold restart and it worked again.
I'm marking this as invalid.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 09, 2011 2:21 am    Post subject: Reply with quote

Congratulations.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum