Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kein /dev/eth0 oder /dev/wlan0
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
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Fri Dec 26, 2008 1:13 pm    Post subject: kein /dev/eth0 oder /dev/wlan0 Reply with quote

Hi Leute,

mein Lan funktioniert, aber mein Wlan nicht.
Ich besitze in beiden faellen kein /dev/eth0 oder /dev/wlan0.
Woher weiss ich jetzt, das mein Wlan /dev/wlan0 heisst und nicht
/dev/eth1.

Gruss Joerg
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Fri Dec 26, 2008 2:27 pm    Post subject: Reply with quote

ifconfig bzw. iwconfig bieten dir guten Informationen.
Dort kann man die Devices dann auch einstellen.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Fri Dec 26, 2008 5:14 pm    Post subject: Reply with quote

Hi Leute,

mein iwconfig schreibt folgendes:
ALF joho42 # iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.


Und unter ifconfig taucht noch ein "ng" auf.
ng
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:415 errors:0 dropped:0 overruns:0 frame:0
TX packets:296 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:216613 (211.5 KiB) TX bytes:32944 (32.1 KiB)
Interrupt:16

Ich weis aber nicht wie ich den ansprechen soll.
Bei dhclient ng kommt:

SIOCSIFADDR: No such device
ng: ERROR while getting interface flags: No such device
ng: ERROR while getting interface flags: No such device
Bind socket to interface: No such device


Gruss Joerg
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Fri Dec 26, 2008 5:53 pm    Post subject: Reply with quote

Wenn bei iwconfig alle Devices keine WLAN Unterstützung haben, dann hast du deinen Treiber nicht richtig geladen.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Fri Dec 26, 2008 6:06 pm    Post subject: Reply with quote

Netzwerkdevices werden nicht unter /dev/ angelegt.
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 905
Location: Hamburg, Germany

PostPosted: Tue Dec 30, 2008 11:17 am    Post subject: Reply with quote

Warum werden die Network Devices eigentlich nicht unter /dev/ angelegt? Diese Frage "Wo ist /dev/eth0" taucht ja sehr oft auf, und ist im Grunde ja auch ein Bruch mit der Unix Philosophie "Everything is a file". AFAIK gab es sogar mal ein FAQ dazu, dieses wurde aber als "obsolete" erklärt und gab die wenig hilfreiche bis falsche Antwort
Quote:
It isn't a real file. It exists in some kernel namespace. (And yes, you're not the first person to think that network devices should be real files just like everything else.)
(siehe z.B. hier)

An anderer Stelle findet man als Grund, daß die Network Devices dynamisch vom Treiber erzeugt werden, aber das werden ander Devices in /dev zumindest heute für gewöhnlich auch.

Gibt es echte Gründe für diese Ungleichbehandlung der Network Devices oder ist das heute nur noch Tradition?
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Tue Dec 30, 2008 4:45 pm    Post subject: Reply with quote

Naja, was willst du denn mit /dev/eth0, ist wohl auch ein wenig sinnlos, schließlich könnte man ja nix reinschreiben und rauslesen wie z.B. /dev/sda, /dev/hda, /dev/nv, /dev/mmcblk0.... Es ist ja keine reelle Hardware dahinter die Daten speichern oder liefern kann kann. Wenn du daten lesen bzw. schreiben woltest, dann bräuchste man ja für jede Verbindung, jedes Protokoll und jedem Port ein device, z.B. /dev/eth0_ipv4_192-168-0-11_80 da sehe ich keinen Sinn dahinter. So kann ich mir des nur erklären.

Mir fällt gerade ein, openvpn braucht ein /dev/tap hmm...
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