Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/init.d/net.eth0 stop stoppt nicht?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mredd
n00b
n00b


Joined: 06 Sep 2003
Posts: 6

PostPosted: Wed Oct 08, 2003 6:47 am    Post subject: /init.d/net.eth0 stop stoppt nicht? Reply with quote

Hallo!

Ich hab hier an 2 Gentoorechnern, die nur bei Bedarf über den Router per DHCP
online gehen festgestellt, das sie nicht wieder offline gehen.....

/etc/init.d/net.eth0 start................bringing eth0 up ......ok
bin online
/etc/init.d/net.eth0 stop.................bringing eth0 down......ok
bin immer noch online......!!

Wo ist da der Denkfehler? Jemand einen Tip?

In der etc/conf.d/net steht als einzige nicht auskommentierte Zeile
iface_eth0="dhcp"

Gruß, Andy
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Wed Oct 08, 2003 8:10 am    Post subject: Reply with quote

Wenn du das device stoppst sollte es eigentlich offline sein, welche Ausgabe liefert dir ifconfig nach den stop?
Back to top
View user's profile Send private message
mredd
n00b
n00b


Joined: 06 Sep 2003
Posts: 6

PostPosted: Wed Oct 08, 2003 7:56 pm    Post subject: Reply with quote

Hallo!
Ja, müsste ich den kernel mal neu bauen, ist kein modul sondern fest eingebaut...
So sieht das aus:
vdr root # /etc/init.d/net.eth0 status
* status: started
vdr root # ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:63:CA:B6:E1
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:136 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:14622 (14.2 Kb) TX bytes:11399 (11.1 Kb)
Interrupt:11 Base address:0xec00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)

vdr root # /etc/init.d/net.eth0 stop
* Bringing eth0 down... [ ok ]
vdr root # ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:63:CA:B6:E1
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:171 errors:0 dropped:0 overruns:0 frame:0
TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:17714 (17.2 Kb) TX bytes:15529 (15.1 Kb)
Interrupt:11 Base address:0xec00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)

vdr root # /etc/init.d/net.eth0 status
* status: stopped
vdr root #

vdr root # ping www.t-online.de
PING www.t-online.de (194.25.134.153) 56(84) bytes of data.
64 bytes from www.t-online.de (194.25.134.153): icmp_seq=1 ttl=248 time=53.8 ms
64 bytes from www.t-online.de (194.25.134.153): icmp_seq=2 ttl=248 time=54.2 ms
64 bytes from www.t-online.de (194.25.134.153): icmp_seq=3 ttl=248 time=54.2 ms

find ich ja echt gediegen.... Modul bauen und rmmod nutzen würde
sicher gehen, aber eigentlich sollte es ja auch so funzen...

Falls noch jemand 'ne Idee hat...

Gruß, Andy
Back to top
View user's profile Send private message
mredd
n00b
n00b


Joined: 06 Sep 2003
Posts: 6

PostPosted: Mon Oct 27, 2003 7:44 pm    Post subject: Reply with quote

Hallo!

Ich hole das Thema nochmal hoch, da ich immer noch keine
Lösung habe...
Mittlerweile habe ich mal 'nen neuen Kernel gebaut und die
Netzwerkkarte als Modul geladen (via-rhine, lädt noch mii mit).
Wie gehabt immer noch das gleiche Problem mit net.eth0.
Die Idee mit dem Entladen der Module klappt leider auch nicht, weil
die halt noch "in use".
Irgendwie muss der Rechner doch wieder offline zu bekommen sein,
wo mag da der Denkfehler sein?

Gruß, Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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