Sie sind nicht angemeldet.

1

26.12.2006, 13:53

Probleme / verwirrung mit WLAN

Hi,
hab ein wenig Problemme dabei mein WLAN (ipw3945 auf HP nx9420) zum laufen zu bekommen.


Den Treiber habe ich (meine ich) korregt installiert und ich finde meine WLAN Karte auch:

Zitat

XX5198 ~ # ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:16:D4:3C:BF:82
inet Adresse:192.168.2.142 Bcast:192.168.2.255 Maske:255.255.255.0
inet6 Adresse: fe80::216:d4ff:fe3c:bf82/64 Gültigkeitsbereich:Verbindung
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:183 errors:0 dropped:0 overruns:0 frame:0
TX packets:213 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:109695 (107.1 Kb) TX bytes:67605 (66.0 Kb)
Interrupt:16

eth1 Protokoll:Ethernet Hardware Adresse 00:13:02:B1:36:64
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:12 (12.0 b)
Interrupt:17 Basisadresse:0xe000 Speicher:f4000000-f4000fff

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



iwconfig bringt:

Zitat

XX5198 ~ # iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

eth1 radio off ESSID:off/any
Mode:Managed Frequency:nan kHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:off
Retry limit:15 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


Sorry hab eine falsche iwconfig erhalten aber als ich ipw3945 neuinstalliert hab, kam letzteres.



Kann mir jemand bei der Lösung des Problems helfen?
Hab schon gegoogelt und bin mehreren Anleitungen gefolgt.

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »X_X5198« (26.04.2009, 14:53)


2

26.12.2006, 13:56

Hast du etwas in "/etc/conf.d/net" eingetragen?
Frequent lock ups are a symptom of not enough memory but only in the way that nosebleeds are a symptom of gunshot wounds to the head.

3

26.12.2006, 14:06

Danke für die schnelle Antwort.
Bin nach der Anleitung http://de.gentoo-wiki.com/Wireless_Konfiguration
vorgegangen und hab es mit den beiden Möglichkeiten probiert.

A:Konfiguration per iwconfig

Zitat

Datei: /etc/conf.d/wireless

key_NETWORK1="s:mywepkey enc open"
preferred_aps=( "NETWORK1" )
config_NETWORK1=( "dhcp" )
dhcpcd_NETWORK1="-t 4"


Wenn ich dann versuche:
dhcpcd eth1
passiert nix, also noch nicht mal ne Meldung, endet erst wenn ich str+C drücke.

B:Konfiguration per wpa_supplicant

in die Datei:

Zitat

/etc/conf.d/net

modules=( "wpa_supplicant" )
wpa_supplicant_ath1="-Dmadwifi"
wpa_timeout_ath1=60


eingefügt.

Leider existiert bei mir die datei /etc/wpa_supplicant.conf.example nicht also weiß ich nicht was ich in die conf schreiben muß.

An letzterem scheiterte es dann auch.

PS: Die Beiden Versuche hab ich einzeln gemacht also meine net.conf sieht im mom so aus:

Zitat

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"



Habs eben nochmal mit wpa_s... probiert und komme bis:

Zitat

XX5198 ~ # /etc/init.d/net.eth1 start
* Caching service dependencies ... [ ok ]
* Starting eth1
* Wireless radio has been killed for interface eth1
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface eth1
* Starting wpa_supplicant on eth1 ...
* configuration file /etc/wpa_supplicant.conf not found! [ !! ]



Google mal nach ner Config. Oder kann mir mal jemand ne config posten?

Ich glaube, das meine Config sicher noch nicht richtig ist, aber so weit bin ich jetzt:

Zitat

XX5198 ~ # /etc/init.d/net.eth1 start
* Caching service dependencies ... [ ok ]
* Starting eth1
* Wireless radio has been killed for interface eth1
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface eth1
* Starting wpa_supplicant on eth1 ...
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption. [ ok ]
* Starting wpa_cli on eth1 ... [ ok ]
* Backgrounding ...



Hab die conf.example jetzt gefunden und mir meine Conf gebastelt:

Zitat

network={
ssid="Test"
key_mgmt=NONE
wep_key1=XXXXXXXXXX....
# wep_key2="123"
# wep_tx_keyidx=0
# priority=5
# auth_alg=SHARED
#
}



Hab da einfach mal einen Teil versucht an mein WLAN anzu passen.

Wenn ich jetzt über /etc/init.d/net.eth1 start eingebe:

Zitat

XX5198 andreas # /etc/init.d/net.eth1 start
* Starting eth1
* Wireless radio has been killed for interface eth1 [ !! ]
XX5198 andreas #


Kann mir jemand helfen? Irgendwas stimmt wohl noch nicht ganz mit der WLAN Karte!
Ganz komisch ist auch, es passiert manchmal, das iwconfig plötzlich angiebt, das eth1 keine "no wireless extensions" hat

Dieser Beitrag wurde bereits 8 mal editiert, zuletzt von »X_X5198« (26.12.2006, 17:03)


4

26.12.2006, 20:06

Warum steht in der /etc/conf.d/net "ath1", das müsste doch "eth1" heissen?

(siehe Anleitung)

Zitat

Beachte: ath0 muss mit dem entsprechenden Device-Namen ersetzt werden
Frequent lock ups are a symptom of not enough memory but only in the way that nosebleeds are a symptom of gunshot wounds to the head.

5

26.12.2006, 20:41

@ loskornosdelsol
Danke für den Hinweis!
Das steht so in der Anleitung aber das ist ja falsch!
Habs mal geändert.


ES GEHT :)

Aber die Meldungen finde ich noch komisch:

Zitat

XX5198 andreas # /etc/init.d/net.eth1 start
* Starting eth1
* Wireless radio has been killed for interface eth1
* wpa_supplicant will launch, but not associate until
* wireles radio is re-enabled for interface eth1
* Starting wpa_supplicant on eth1 ...
ioctl[SIOCSIWMODE]: Resource temporarily unavailable
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Resource temporarily unavailable
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Resource temporarily unavailable
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Resource temporarily unavailable
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Resource temporarily unavailable
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Resource temporarily unavailable [ ok ]
* Starting wpa_cli on eth1 ... [ ok ]
* Backgrounding ...


Meine Config Dateien:

Zitat

/etc/iconf.d/wireless
key_TEST="XXXXXXXXXXXXXXXXXXXXX enc open"
preferred_aps=( "TEST" )
config_TEST=( "dhcp" )
dhcpcd_TEST="-t 4"



Zitat

/etc/conf.d/net
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"
dhcp_eth0="-t 10"
#WLAN
config_eth1=( "dhcp" )
dhcp_eth1="-t 25"
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-ipw3945"
wpa_timeout_eth1=60


Zitat


/etc/wpa_supplicant.conf
network={
ssid="ABF300"
key_mgmt=NONE
wep_key1=61663366343633626335373130
# wep_key2="123"
# wep_tx_keyidx=0
# priority=5
# auth_alg=SHARED
#
}



Hab jetzt über wifi-radar eine Verbindung.
Jetzt muß ich es nur noch hin bekommen, das das automatisch geht :-)

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »X_X5198« (26.12.2006, 21:00)


6

27.12.2006, 16:22

Ist es dann jetzt gelöst? Setzt du es auch so?
"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!"

Jabber: Die ID kann via PN erfragt werden.

7

27.12.2006, 17:00

Ja also das WLAN benutzen kann ich jetzt nur es läuft noch nicht so richtig mit dem Autostart.
WEP und versteckte ESSID mußte ich ausschalten, sonst ging es immer nur über wifi-radar!

Da gab es doch mal so ein Programm das automatisch die Verbindung herstellt wenn Kabel oder WLAN verfügbar ist aber ich weiß nicht mehr wie das hieß bzw wie das ging.

Ne Idee?

8

28.12.2006, 11:08

wpa_supplicant ist doch recht gut für WLAN. Eine Beispielkonfiguration und Anleitungen gibt es im Netz doch viele.
Und für Kabel hilft die ifplugd.
"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!"

Jabber: Die ID kann via PN erfragt werden.

9

28.12.2006, 13:26

Ok dann werde ich mich nochmal mit dem wpa_supplicant beschäftigen :-)
Danke für alle Antworten!

Guten Rutsch dann noch :tongue: