Tak včera jsem potkal jednoho kluka, co mi ten net (dočasně) rozchodil, bohužel nebylo tolik času, aby napsal ještě nějaký skript a tak mi poradil jen příkazy. Samozřejmě ndiswrapper je mnohem lepší, takže jsme ho použili. Kdysi jsem také s úspěchem používal ndiswrapper, ale s příchodem Ubuntu 7.04 jsem přešel na bcm43xx ovladač, protože ndiswrapper mi nějak nefungoval. Teď mám ndiswrapper nainstalovaný i s nataženým ovladačem pro mou wifi, ale už mi nejde se připojit (ale ono to jde, jen já jsem takovej no... nebudu komentovat). Už jsem udělal i to, že se nenačítá bcm43xx ovladač, ale právě ndiswrapper, což ale bohužel nestačí (doma jsem to netestoval, ale tam se chytne skoro vše). Na připojení jsme použili tento příkaz:
sudo wpa_supplicant -D wext -i eth1 -c /etc/eduroam.conf
v /etc/eduroam.conf mám nastavení s heslem apod. (je to funkční, protože síť s tím včera jela)
Určitě zapomínám na nějaký příkaz. Zkoušel jsem pustit i dhclient, ale nepomohlo to.
Ještě zde uvedu nějaké výpisy:
spuštění výše jmenovaného příkazu (je evidentní, že komunikuje se sítí):
libor@libor:~$ sudo wpa_supplicant -D wext -i eth1 -c /etc/eduroam.conf
Trying to associate with 00:19:06:e0:0f:f1 (SSID='eduroam' freq=2462 MHz)
Associated with 00:19:06:e0:0f:f1
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
OpenSSL: tls_connection_handshake - Failed to read possible Application Data error:00000000:lib(0):func(0):reason(0)
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Key negotiation completed with 00:19:06:e0:0f:f1 [PTK=TKIP GTK=WEP-104]
CTRL-EVENT-CONNECTED - Connection to 00:19:06:e0:0f:f1 completed (auth) [id=0 id_str=]
CTRL-EVENT-TERMINATING - signal 2 received
libor@libor:~$ sudo gedit /etc/eduroam.conf
libor@libor:~$ sudo wpa_supplicant -D wext -i eth1 -c /etc/eduroam.conf
Trying to associate with 00:19:06:e0:0f:f1 (SSID='eduroam' freq=2462 MHz)
Associated with 00:19:06:e0:0f:f1
CTRL-EVENT-EAP-STARTED EAP authentication started
CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
OpenSSL: tls_connection_handshake - Failed to read possible Application Data error:00000000:lib(0):func(0):reason(0)
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
WPA: Key negotiation completed with 00:19:06:e0:0f:f1 [PTK=TKIP GTK=WEP-104]
CTRL-EVENT-CONNECTED - Connection to 00:19:06:e0:0f:f1 completed (auth) [id=0 id_str=]
a výpis DMESG (poslední řádky):
[ 27.244000] PCI: Setting latency timer of device 0000:00:11.6 to 64
[ 27.456000] cs: IO port probe 0x100-0x3af: clean.
[ 27.456000] cs: IO port probe 0x3e0-0x4ff: clean.
[ 27.456000] cs: IO port probe 0x820-0x8ff: clean.
[ 27.460000] cs: IO port probe 0xc00-0xcf7: clean.
[ 27.460000] cs: IO port probe 0xa00-0xaff: clean.
[ 27.752000] PCI: Enabling device 0000:00:11.5 (0000 -> 0001)
[ 27.752000] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 20
[ 27.752000] PCI: Setting latency timer of device 0000:00:11.5 to 64
[ 28.528000] ndiswrapper version 1.45 loaded (smp=yes)
[ 28.664000] ndiswrapper: driver bcmwl5 (Broadcom,02/11/2005, 3.100.64.0) loaded
[ 28.664000] PCI: Enabling device 0000:00:06.0 (0004 -> 0006)
[ 28.664000] ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 18 (level, low) -> IRQ 21
[ 28.672000] ndiswrapper: using IRQ 21
[ 29.020000] wlan0: ethernet device 00:14:a5:cb:b4:c3 using NDIS driver: bcmwl5, version: 0x3644000, NDIS version: 0x501, vendor: '', 14E4:4318.5.conf
[ 29.020000] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 29.024000] usbcore: registered new interface driver ndiswrapper
[ 29.084000] Adding 1317288k swap on /dev/sda5. Priority:-1 extents:1 across:1317288k
[ 29.088000] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[ 29.092000] EXT3 FS on sda1, internal journal
[ 29.120000] ndiswrapper: changing interface name from 'wlan0' to 'eth1'
[ 29.356000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
[ 37.516000] ACPI: AC Adapter [ACAD] (on-line)
[ 37.540000] ACPI: Battery Slot [BAT0] (battery present)
[ 37.556000] No dock devices found.
[ 37.612000] input: Power Button (FF) as /class/input/input6
[ 37.616000] ACPI: Power Button (FF) [PWRF]
[ 37.652000] input: Power Button (CM) as /class/input/input7
[ 37.656000] ACPI: Power Button (CM) [PWRB]
[ 37.696000] input: Lid Switch as /class/input/input8
[ 37.700000] ACPI: Lid Switch [LID]
[ 37.860000] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 39.856000] eth0: link down
[ 42.948000] lp: driver loaded but no devices found
[ 43.164000] ppdev: user-space parallel port driver
[ 43.696000] audit(1195731982.819:3): type=1503 operation="inode_permission" requested_mask="a" denied_mask="a" name="/dev/tty" pid=4766 profile="/usr/sbin/cupsd"
[ 44.024000] apm: BIOS not found.
[ 49.844000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 50.492000] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 50.592000] NFSD: starting 90-second grace period
[ 55.232000] Failure registering capabilities with primary security module.
[ 81.276000] NET: Registered protocol family 17
[ 148.008000] NET: Registered protocol family 10
[ 148.008000] lo: Disabled Privacy Extensions
[ 148.012000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 148.012000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 272.148000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 325.140000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 325.716000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 327.620000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 328.200000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 330.236000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 330.820000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 336.616000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 337.208000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 397.908000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 398.472000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Poradí mi někdo? Díky... Dodám i další výpisy, když bude třeba. Byl bych fakt štastnej, kdyby to jelo jako včera...