| Hardware Hardware-related (modem/soundcard/printer etc.) configuring/troubleshooting help forum.
|

04-15-2004, 01:15 AM
|
 |
Registered User
|
|
Join Date: Oct 2003
Location: Earth...I summer on Mars
Posts: 138
|
|
|
Configuring Ma111 Wireless usb adapter under Suse 9.0
Since I'm using Suse 9.0 I don't have a rc.local file so instead I put the following lines into my etc/init.d/boot.local file.
sbin/modprobe prism2_usb
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=default
authtype=opensystem
ifconfig wlan0 192.168.0.1
netmask 255.255.255.0
broadcast 6
route add default gw 68.80.17.1
When I do lsmod the following are listed
prism2_usb [unsused]
p80211 [prism2_usb]
When I look at boot log I see the following lines regarding the boot.local file
modprobe: modprobe: can't locate module wlan0
wlanctl-ng: No such device
The required arguement 'Authtype' has no value
messege: lnxreq_autojoin ssid='defualt'
authtype=no_value
result-code=no_value
modprobe: modprobe: insmode wlan0=192.168.0 failed
Despite these errors I feel I'm very close to getting this to actually work since the modules prism2_usb and p80211 are loaded. I'm thinking that maybe the only thing that should go into boot.local is the modprobe line and all the rest should be in a file that's called somewhat later in the process.
When I was looking at the device status of my router (I'm using a D-link DI614+) I didn't see anything about broadcast, I saw channel but no broadcast (so I put the channel number on the broadcast line) are they the same thing? Also on the status page under the Wireless section there is a MAC address I also noted a mac address on t he label of the MA111 should I change the mac address of the router to match that of the one on the MA111?
Thanks greatly for your time and any advice and or tips.
Last edited by Gallienus; 04-15-2004 at 01:18 AM.
|

04-15-2004, 11:06 AM
|
 |
Grand Master
|
|
Join Date: Dec 1999
Location: Toronto
Posts: 39,364
|
|
This might be helpful as it tells you which config files to use in /etc/sysconfig/network .
http://portal.suse.com/sdb/en/2002/11/wavelan.html
I did a search for 'wireless' on the SuSE Knowledgebase.
Have you installed the wireless-tools package included with SuSE? I'm not sure if that package is required or not.
|

04-15-2004, 11:30 AM
|
 |
Registered User
|
|
Join Date: Dec 2003
Posts: 184
|
|
I have the same adapter and its really easy to get set up. Did you add
Code:
alias wlan0 prism2_usb prism2_doreset=1
to /etc/modules.conf file. If never used suse so it might be a different file. Also
Code:
wlanctl-ng wlan0 lnxreq_autojoin ssid=default
authtype=opensystem
has to be typed as all one line like this
Code:
wlanctl-ng wlan0 lnxreq_autojoin ssid=default authtype=opensystem
|

04-17-2004, 06:10 PM
|
 |
Registered User
|
|
Join Date: Oct 2003
Location: Earth...I summer on Mars
Posts: 138
|
|
|
Okay I've changed this
wlanctl-ng wlan0 lnxreq_autojoin ssid=default authtype=opensystem
so that it's all on one line like it's supposed to be.
This is quoted from the wlan-ng readme, and I've also did this as well
However, we highly recommend setting up a configuration specifically for
your network, using the following method:
0) This example assumes your network name/SSID is "MyHomeNetwork"
1) cp /etc/wlan/wlancfg-DEFAULT /etc/wlan/wlancfg-MyHomeNetwork
2) edit /etc/wlan/wlan.conf and change the SSID_wlan0 line to:
SSID_wlan0="MyHomeNetwork"
3) edit /etc/wlan/wlancfg-MyHomeNetwork, and make any necessary changes
necessary to support your network, such as WEP and whatnot.
I've also added the following line to my modules.conf file
alias wlan0 prism2_usb
and still I'm getting the error wlanctl-ng: no such device.
Any help will be greatly appreciated
|

04-17-2004, 07:53 PM
|
 |
Registered User
|
|
Join Date: Dec 2003
Posts: 184
|
|
|
Ok try doing this:
1. Unplug the adapter
2. at the command line type
modprobe prism2_usb
3. Check and make sure that the modules loaded with lsmod it should show
prism2_usb
p80211
4. Plug in the adapter
5. at the commandline type all one line
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
6. at the commandline type all one line
wlanctl-ng wlan0 wlanctl-ng wlan0 lnxreq_autojoin ssid=*what ever your ssid is here* authtype=opensystem
7. ifconfig wlan0 *what ever ip address you use*
I have gotten it to work under Gentoo, Debian, Slackware and a few others. Also what version of linux-wlan-ng are you useing.
VoiDeR
|

04-17-2004, 11:52 PM
|
 |
Registered User
|
|
Join Date: Oct 2003
Location: Earth...I summer on Mars
Posts: 138
|
|
|
Okay I unplugged the MA111 then plugged it back in and typed in the command lsmod and got these pertinent entries
prism2_usb 62948 0 [unused]
p80211 18404 0 [unused]
usbcore 58668 1 [usbserial usb_uhci prism2_usb]
I typed in the command
modprobe prism2_usb
then typed in the wlanctl-ng lines exactly as they were in your post and got wlanctl-ng : no such device. both times
I tried the ifconfig wlan0 command and got siocsifaddr: No such device
wlan0: unknown inteface: No such device.
In my wlan-ng changlog the last entry was for pre9 and after looking at the linux-wlan.org website it seems I'm way out of date. I guess the first thing to do will be to update my version of linux-wlan
|

04-18-2004, 12:37 AM
|
 |
Registered User
|
|
Join Date: Dec 2003
Posts: 184
|
|
|
Do you have wlan running? at the commandline type
/etc/init.d/wlan restart
then go though and do what i said before. This might be different with suse. Im in the middle of downloading suse 9. When its down ill play with it and see what i can find out. Ill Keep ya posted.
VoiDeR
|

04-18-2004, 01:29 PM
|
 |
Registered User
|
|
Join Date: Oct 2003
Location: Earth...I summer on Mars
Posts: 138
|
|
|
no but I have tried the command
restart network
Okay this is odd, I tired the wlan0 restart command and it told me no such file or directory. So I did a search for wlan0 starting at / . I did the search as root, and it did not find any files. I'm still pretty much a newbie but I thought there was a file for everything on linux including something like wlan0? Shouldn't there be a wlan0 file some where?
Last edited by Gallienus; 04-18-2004 at 02:19 PM.
|

04-18-2004, 03:05 PM
|
 |
Grand Master
|
|
Join Date: Dec 1999
Location: Toronto
Posts: 39,364
|
|
|
I do not have any wireless devices, so I'm not sure if wlan0 exist in the system service directory (/etc/init.d).
For restarting the network.
/etc/init.d/network restart (also stop|start)
Perhaps VoiDeR means
ifdn wlan0
ifup wlan0
or
ifconfig wlan0 down
ifconfig wlan0 up
|

04-22-2004, 05:46 PM
|
 |
Registered User
|
|
Join Date: Oct 2003
Location: Earth...I summer on Mars
Posts: 138
|
|
|
Just to let everyone know.....I downloaded and compiled the latest wlan driver and it worked flawlessly.
Thanks for all your help.
|

04-22-2004, 10:06 PM
|
 |
Registered User
|
|
Join Date: Dec 2003
Posts: 184
|
|
|
Thats great!! Im going to give suse a try anyway if i can get the installer to work.
Congrats
VoiDeR
|

04-22-2004, 11:47 PM
|
 |
Registered User
|
|
Join Date: Oct 2003
Location: Earth...I summer on Mars
Posts: 138
|
|
|
Are you having trouble with bad files? I think I had to restart the installation twice because it would get to 2 or 5% and report a corrupted file.
|

04-23-2004, 12:27 AM
|
 |
Registered User
|
|
Join Date: Dec 2003
Posts: 184
|
|
No its asking for the ip address for the ftp but when i enter
ftp://ftp.suse.com/pub/suse/i386/9.0
it tells me that its invalid format. It wants a xxx.xxx.xxx.xxx address which i cant find anywhere.
VoiDeR
|

04-23-2004, 09:28 AM
|
 |
Grand Master
|
|
Join Date: Dec 1999
Location: Toronto
Posts: 39,364
|
|
Quote:
Originally posted by VoiDeR
It wants a xxx.xxx.xxx.xxx address which i cant find anywhere.
|
ping ftp.suse.com
Code:
PING ftp.suse.com (195.135.221.130) 56(84) bytes of data.
64 bytes from ftp.suse.com (195.135.221.130): icmp_seq=1 ttl=238 time=185 ms
64 bytes from ftp.suse.com (195.135.221.130): icmp_seq=2 ttl=238 time=216 ms
64 bytes from ftp.suse.com (195.135.221.130): icmp_seq=3 ttl=238 time=186 ms
64 bytes from ftp.suse.com (195.135.221.130): icmp_seq=4 ttl=238 time=181 ms
--- ftp.suse.com ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4005ms
rtt min/avg/max/mdev = 181.801/192.503/216.748/14.099 ms
|

04-23-2004, 01:17 PM
|
 |
Registered User
|
|
Join Date: Dec 2003
Posts: 184
|
|
|
Wow Y didnt i think of that. Thanks mdwatts
VoiDeR
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 01:29 PM.
|


|