Click to See Complete Forum and Search --> : Configuring Ma111 Wireless usb adapter under Suse 9.0
Gallienus
04-15-2004, 01:15 AM
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.
mdwatts
04-15-2004, 11:06 AM
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.
VoiDeR
04-15-2004, 11:30 AM
I have the same adapter and its really easy to get set up. Did you add
alias wlan0 prism2_usb prism2_doreset=1 to /etc/modules.conf file. If never used suse so it might be a different file. Also
wlanctl-ng wlan0 lnxreq_autojoin ssid=default
authtype=opensystem
has to be typed as all one line like this
wlanctl-ng wlan0 lnxreq_autojoin ssid=default authtype=opensystem
Gallienus
04-17-2004, 06:10 PM
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
VoiDeR
04-17-2004, 07:53 PM
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
Gallienus
04-17-2004, 11:52 PM
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
VoiDeR
04-18-2004, 12:37 AM
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
Gallienus
04-18-2004, 01:29 PM
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?
mdwatts
04-18-2004, 03:05 PM
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
Gallienus
04-22-2004, 05:46 PM
Just to let everyone know.....I downloaded and compiled the latest wlan driver and it worked flawlessly.
Thanks for all your help.
VoiDeR
04-22-2004, 10:06 PM
Thats great!! Im going to give suse a try anyway if i can get the installer to work.
Congrats
VoiDeR
Gallienus
04-22-2004, 11:47 PM
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.
VoiDeR
04-23-2004, 12:27 AM
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
mdwatts
04-23-2004, 09:28 AM
Originally posted by VoiDeR
It wants a xxx.xxx.xxx.xxx address which i cant find anywhere.
ping ftp.suse.com
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
VoiDeR
04-23-2004, 01:17 PM
Wow Y didnt i think of that. Thanks mdwatts
VoiDeR
mdwatts
04-23-2004, 01:24 PM
Originally posted by VoiDeR
Wow Y didnt i think of that. Thanks mdwatts
Because you're not the *cough* Grand Master. :p
Uh-oh :eek:
Glad to help... is it working now?
Raise your hand if you are another JL member that didn't know about that (ping)? :D
suppaman
04-26-2004, 08:23 PM
I am sorry a bit noob here. I dont have any idea how to get that thing works. I did the installation already. But in this case, I can only access the router but I couldnt get the internet connection. I not sure wat to do now.
mdwatts
04-27-2004, 09:48 AM
Originally posted by suppaman
I am sorry a bit noob here. I dont have any idea how to get that thing works. I did the installation already. But in this case, I can only access the router but I couldnt get the internet connection. I not sure wat to do now.
Same wireless card and distro as the originator of this thread? If not, I would suggest you post a new thread of your own.
Could you explain what you mean about being able to access the router (by pinging) and not get a internet connection (web access)? Have you configured your gateway address and also the dns servers in /etc/resolv.conf?
Try searching the JL forums for 'gateway address resolv.conf' as we have lots of previous threads on the subject.
<edit>
Here they are (http://justlinux.com/forum/search.php?s=&action=showresults&searchid=935920&sortby=lastpost&sortorder=descending). :)
suppaman
04-27-2004, 01:05 PM
Ya you are right. I think i missed it.
Can I know how to know my dns and gateway?
in windows dns is auto. and gateway I not sure.
mdwatts
04-27-2004, 02:03 PM
Originally posted by suppaman
Can I know how to know my dns and gateway?
For my network with a Linksys router, I specify the routers ip for the gateway address and dns server.
/etc/sysconfig/network/routes
default 192.168.1.1 - -
/etc/resolv.conf
nameserver 192.168.1.1
search mdwsystems.net
The Linksys router takes care of the rest.
suppaman
06-16-2004, 11:47 PM
Sorry. I have stop trying because of assignments and stuff.
I am now trying again and I have no idea how to continue to make this driver work.
I have only installed the driver. (Reinstalled)
Others files I don't dare to change because not really sure what to change. Can anyone help me?
using suse9.0
for router its netgear MR314
Robinson2001
06-18-2004, 12:21 PM
Like MDwatts said check and fill out your dnsīs and make your Gateway your router ip.
I had the same problem in the beginning. I can configure my router with browser but no internet connection.
Check your Internet username and password also.
Ciao
Robinson2001