LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-19-2004, 03:21 PM   #1
cerrayon
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
Configuring Syntax USB 400


Hello all,

I am trying to set up wireless on my linux box, which is running slackware 10RC1. The wireless adapter will go to a wireless/wired router running DHCP.

I have followed the procedures from another post here on this forum, which I will quote below since I am not yet allowed to include URLs:

Quote:
I was able to get the Syntax USB-400 wireless USB to work under Debian Linux by downloading and building the linux-wlan-ng-0.2.1-pre20 modules with all drivers.

You are going to need the source code to your kernel at /usr/src/linux (create the symbolic link or rename the folder). Copy your distributions configuration file from the /boot/ folder (Debian names it something like config-2.6.5). You will have to have some kernel parts compiled in order for the linux-wlan-ng module to work. I ended up creating a whole new kernel.

Run the ./Configure from the linux-wlan-ng folder. It asks you some basic setup questions and attempts to load everything. This didn't work for me. I then ran 'make all' and 'make install' to have all modules built and installed into the correct /lib/modules/'uname -r'/ folder. Run 'depmod' and 'modprobe -l | grep prism' to see if you have the prism2_usb module. Then load the module with 'modprobe prism2_usb', the 80211b driver also will get loaded.

I was also able to have hotplug (*URL removed for posting*) recognize my toy by copying the output of 'cat /lib/modules/'uname -r'/modules.usbmap | grep prism2_usb' to /etc/hotplug/usb.usermap. I think this is what I used 'cat /lib/modules/'uname -r'/modules.usbmap | grep prism2_usb >> /etc/hotplug/usb.usermap'

Now I don't have to have the USB-400 plugged into my laptop until I am ready to use it.

To have it connect to a wireless network, I had to change the /etc/network/interfaces to include:
auto wlan0
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid default

#default was the name of my router I wanted to connect to.
I followed it up to the point where configuration is needed to allow it to connect to a wireless network.

However, I am not sure where to go from here in terms of configuring the network settings to use the wireless adapter in the context of slackware.

When I installed slackware, I configured the network settings to use the attached ethernet port with a fixed IP address. From there, what settings do I need to change in order to get the wireless adapter to work?

After following the procedures in the above post, dmesg gave the following:

Code:
...
linkstatus=AP_OUTOFRANGE (unhandled)
linkstatus=AP_INRANGE (unhandled)
...
The above repeated for a considerable time, then after a while I began to get the following:

Code:
...
linkstatus=DISCONNECTED (unhandled)
linkstatus=CONNECTED (unhandled)
...
Currently, this output is also repeating.

Also, from dmesg, after doing a modprobe, the following was output:

Code:
prism2usb-int: prism2_usb.o: 0.2.1-pre20 Loaded
prism2usb_init: dev_info is: prism2_usb
usb.c: registered new driver prism2_usb
ident: nic h/w: id=0x8026 1.0.0
This seems to suggest (though I wouldn't know for sure) that the driver is installed correctly.

So if anyone has step by step instructions for changing my network configuration from a fixed IP address using the ethernet port to a wireless setup using DHCP, I would greatly appreciate it.

BTW, I am sort of a newbie to linux. I've played with it on and off before, and during times where I'm not using it, I usually tend to forget things.

Thanks!
 
Old 06-19-2004, 03:27 PM   #2
cerrayon
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Output from lsmod

Here is the output of lsmod:

Code:
Module                  Size  Used by    Tainted: P
prism2_usb             64476   0  (unused)
p80211                 22112   0  [prism2_usb]
nvidia               1964896   5  (autoclean)
uhci                   24444   0  (unused)
usbcore                59308   1  [prism2_usb uhci]
8139too                14376   1
mii                     2272   0  [8139too]
crc32                   2880   0  [8139too]
pcmcia_core            39972   0
ide-scsi                9328   0
agpgart                43940   3
 
Old 06-20-2004, 11:00 PM   #3
cerrayon
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Working now...

Ok, I have gotten it all working. Initially, I was following the README for the drivers and adjusting the files to my situation. However, ironically it did not work until I did a reboot, which I thought was not necessary in linux. Before, I was testing the setup by switching to init 1 and then back to init 3 to start everything up again. Is there any difference between this and rebooting?

However, dmesg still gives me the following, repeatedly:

Code:
...
linkstatus=AP_OUTOFRANGE (unhandled)
linkstatus=AP_INRANGE (unhandled)
...
While the setup does work, this does seem a bit worrisome. Why is it constantly going in and out of range? Is it simply because my wireless device is somewhat far from the access point?

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LG STD-400 (USB) - how to??? everal Linux - Networking 0 10-07-2005 07:28 PM
joystick USB PREDATOR TH 400 calibrate sidlo Linux - Hardware 0 12-25-2004 11:50 AM
Syntax USB-400 Wireles USB (SuSE 9.0 / Mandrake 10) shassouneh Linux - Wireless Networking 17 04-23-2004 02:25 AM
fedora syntax usb 400 myang Linux - Wireless Networking 1 04-22-2004 04:13 PM
Plantronics DSP-400 USB Headset mikewelter Linux - Hardware 0 12-22-2003 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration