Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Hey,
I am doing an experiment right now, trying to make my own customised box from an Ubuntu minimal install. However, I have 1 small problem (I can still work around, no doubt), and that's that I don't have a long enough patch cable to reach all the way from the machine to my router, but do have a WLAN adapter lying around, and thought I could use that.
Here's my problem. I don't think my machine is populating the device with a driver, because no WLAN (not even the normal LAN device) show up in /dev, however when doing lsusb I get:
Code:
Bus 001 Device 004: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/4GB Flash Drive
Bus 001 Device 002: ID 0df6:000d Sitecom Europe B.V. WL-168 Wireless Network Adapter 54g
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
By the way, that mouse is just playing useless, because I don't have X running yet. By the way, I didn't know it was Logitech until now, It says Dell on top. (Computer with keyboard and mouse is a written of device from school, running Windows until I thought of this experiment)
Once I figure out how to get the device working, I hope I can figure it all out.
and the iwconfig can't be run, because I don't have it installed, and I can't unless I get web-connection (or I will have to go through dependency hell, well, ok for this one time, if really necessary).
The basic wireless tools aren't included in the Ubuntu minimal install? That seems problematic. I don't think you'll be able to set up the wireless without them.
I managed to install wireless tools without going through too much hell, as there was 1 library unmet which had only 1 dependency that was already met, and the tools also needed another library, which appeared to be the same as the earlier library depended upon.
here comes your output to iwconfig
Code:
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
EDIT:
I have also done the other command, but the relevant module remains the same.
If your wireless network has no encryption, or uses WEP, you can connect using the iwconfig command.
Code:
paul@eeepc:~$ iwconfig --help
Usage: iwconfig [interface]
interface essid {NNN|any|on|off}
interface mode {managed|ad-hoc|master|...}
interface freq N.NNN[k|M|G]
interface channel N
interface bit {N[k|M|G]|auto|fixed}
interface rate {N[k|M|G]|auto|fixed}
interface enc {NNNN-NNNN|off}
interface key {NNNN-NNNN|off}
interface power {period N|timeout N|saving N|off}
interface nickname NNN
interface nwid {NN|on|off}
interface ap {N|off|auto}
interface txpower {NmW|NdBm|off|auto}
interface sens N
interface retry {limit N|lifetime N}
interface rts {N|auto|fixed|off}
interface frag {N|auto|fixed|off}
interface modulation {11g|11a|CCK|OFDMg|...}
interface commit
Check man pages for more details.
Substitute wlan0 for "interface". If you are using WPA encryption, you will have to install and configure wpa_supplicant. It should be available from the installation DVD.
__________________
Paul
Please do not PM me with requests for help. I will not reply.
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe