Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2004-09-06 15:53:53

  oress - Użytkownik

oress
Użytkownik
Skąd: Opole
Zarejestrowany: 2004-09-06

Nie do końca wszystko się udało:

Sterownik się skompilował, ale skrypt wlanup wywala coś takiego:
"wlan0 no private ioctls"

Moj skrypt wygląda tak:
_____________________________________________________________
#Load module
#!/bin/bash
insmod -q -f rtl8180_24x.o

#Set SSID
iwpriv wlan0 wlan_para ssid2scan=CiscoEAP
iwpriv wlan0 wlan_para networktype=infra
iwpriv wlan0 msglevel 1

#/sbin/iwpriv wlan0 wlan_para encmode=wep
#/sbin/iwpriv wlan0 wlan_para wepmode=wep40,wepdkeyid=0,wepkey40_1=1234567890

#Enable wireless lan driver
iwpriv wlan0 enable

#Configure wlan0 IP address
ifconfig wlan0 10.0.0.107 netmask 255.255.255.0
route add default gw 10.0.0.1
____________________________________________________________
w Windows mam dynamicznie przydzielane IP, zawsze to samo więc parametry przepisałem.

O co chodzi w 6 lii : "iwpriv wlan0 wlan_para ssid2scan=CiscoEAP"
Co to jest za parametr?


lOstatnie logi wyglądają tak:
______________________________________________________________
Sep  6 16:38:13 jasio kernel:
Sep  6 16:38:13 jasio kernel: ******** RTL8180 Wireless Lan Driver 2003-06-11 loaded********
Sep  6 16:38:13 jasio kernel: PCI: Found IRQ 5 for device 00:0f.0
Sep  6 16:38:13 jasio kernel: PCI: Sharing IRQ 5 with 00:12.0
Sep  6 16:38:13 jasio kernel: RTL8180: 00:0f.0: region #0 IS a PIO resource!
Sep  6 16:38:13 jasio kernel: RTL8180: request_region(0x0000cc00,0x00000100) !
Sep  6 16:38:13 jasio kernel:  printing eip:
Sep  6 16:38:13 jasio kernel: d0868a2f
Sep  6 16:38:13 jasio kernel: Oops: 0002
Sep  6 16:38:13 jasio kernel: CPU:    0
Sep  6 16:38:13 jasio kernel: EIP:    0010:[ac97_codec:__insmod_ac97_codec_S.data_L704+96111/39291553]    Tainted: GF
Sep  6 16:38:13 jasio kernel: EFLAGS: 00010246
Sep  6 16:38:13 jasio kernel: eax: 00000000   ebx: c8145000   ecx: 00000000   edx: c6d00000
Sep  6 16:38:13 jasio kernel: esi: 000005dc   edi: c6d1ac2c   ebp: c6f53e68   esp: c6f53e50
Sep  6 16:38:13 jasio kernel: ds: 0018   es: 0018   ss: 0018
Sep  6 16:38:13 jasio kernel: Process insmod (pid: 331, stackpage=c6f53000)
Sep  6 16:38:13 jasio kernel: Stack: 00001a77 00001a77 c0114a69 c8145000 d08910b4 c8145227 c6f53e98 d0868913
Sep  6 16:38:13 jasio kernel:        c8145000 c12d405c 0000cc00 c717045c c8145000 c12d405c c7170440 c8145000
Sep  6 16:38:13 jasio kernel:        00000100 c12d4000 c6f53ec8 d0868219 c8145000 0000cc00 00000100 d08a0be0
Sep  6 16:38:13 jasio kernel: Call Trace:    [call_console_drivers+217/224] [ac97_codec:__insmod_ac97_codec_S.data_L704+261620/39126044] [ac97_codec:__insmod_ac97_codec_S.data_L704+95827/39291837] [ac97_codec:__insmod_ac97_codec_S.data_L704+94041/39293623] [ac97_codec:__insmod_ac97_codec_S.data_L704+325920/39061744]
Sep  6 16:38:13 jasio kernel:   [ac97_codec:__insmod_ac97_codec_S.data_L704+325928/39061736] [ac97_codec:__insmod_ac97_codec_S.data_L704+325984/39061680] [_call_console_drivers+83/88] [pci_announce_device+53/80] [ac97_codec:__insmod_ac97_codec_S.data_L704+325928/39061736] [ac97_codec:__insmod_ac97_codec_S.data_L704+325984/39061680]
Sep  6 16:38:13 jasio kernel:   [pci_register_driver+72/96] [ac97_codec:__insmod_ac97_codec_S.data_L704+325984/39061680] [ac97_codec:__insmod_ac97_codec_S.data_L704+94524/39293140] [ac97_codec:__insmod_ac97_codec_S.data_L704+325984/39061680] [ac97_codec:__insmod_ac97_codec_S.data_L704+94511/39293153] [ac97_codec:__insmod_ac97_codec_S.data_L704+261856/39125808]
Sep  6 16:38:13 jasio kernel:   [__free_pages+27/28] [sys_init_module+1365/1536] [ac97_codec:__insmod_ac97_codec_S.data_L704+93600/39294064] [system_call+51/56]
Sep  6 16:38:13 jasio kernel:
Sep  6 16:38:13 jasio kernel: Code: 89 96 08 01 00 00 89 d0 81 c2 6c 8f 01 00 89 10 81 c2 04 03
Sep  6 16:39:12 jasio mc: /dev/gpmctl: No such file or directory
Sep  6 16:43:20 jasio mc: /dev/gpmctl: No such file or directory
_____________________________________________________________
ale co to jest  gpmctl?- w ostatniej lini - jakiś potrzebny pakiet? Nie mogę nic na ten temat znaleźć.

Proszę o pomoc, chciałby się dowiedzieć jak poprawnie uzupełnić skrypt wlanup ?

Z góry dziękuję


Linux register user: #369347
[img]http://img.uptime-project.net/img/12/95717.png[/img] [img]http://img.uptime-project.net/img/2/53561.png[/img]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.010 seconds, 13 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00191 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='52.14.166.224' WHERE u.id=1
0.00078 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '52.14.166.224', 1732350431)
0.00029 SELECT * FROM punbb_online WHERE logged<1732350131
0.00107 DELETE FROM punbb_online WHERE ident='18.216.104.106'
0.00059 DELETE FROM punbb_online WHERE ident='3.21.246.53'
0.00083 SELECT topic_id FROM punbb_posts WHERE id=390
0.00053 SELECT id FROM punbb_posts WHERE topic_id=88 ORDER BY posted
0.00048 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=88 AND t.moved_to IS NULL
0.00026 SELECT search_for, replace_with FROM punbb_censoring
0.00092 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=88 ORDER BY p.id LIMIT 0,25
0.00082 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=88
Total query time: 0.00861 s