LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2015, 07:50 PM   #1
goldduo
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Rep: Reputation: Disabled
cannot setup wifi


i just installed ubuntu server, and tried to connect to wifi (using my wireless usb adapter)

i tried:
sudo iwlist wlan1 .. and see my network Home-072
sudo iwconfig wlan1 essid "HOME-072" key 43242E5D23423C

I also tried
sudo iwconfig wlan1 essid "HOME-072" key s:43242E5D23423C

either way, i get "set failed on device wlan1: invalid argument"

I suppose the driver is already installed since i can see network available?

I also tried
sudo dhclient -v wlan1
and got repeatedly:
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67....


any help?

Last edited by goldduo; 09-08-2015 at 08:02 PM.
 
Old 09-08-2015, 08:23 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Hi & Welcome to Linux Questions.

You might want to post what wifi usb adapter you have.
That way someone could help you find the driver for it if it's not already installed.

The usb wifi adapter should show in the output of the command:
Code:
lsusb
 
1 members found this post helpful.
Old 09-08-2015, 08:31 PM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,167

Rep: Reputation: 201Reputation: 201Reputation: 201
Welcome to LinuxQuestions!

Did you plug in your usb WiFi adapter before or after you installed Ubuntu?

Play Bonny!

 
Old 09-08-2015, 09:13 PM   #4
goldduo
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
i plugged in the usb adapter before installation, but i passed.

lsusb give me:
Bus007 Device 001 ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus005 Device 001 ID 1d6b: 0001 Linux Foundation 2.0 root hub
............
7 lines.

the adapter is WiBee 802.11g, it does have a MAC and S/N. i dont have the CD anymore.

i thought if i can detect available wireless network, the adapter is already working, thus a driver is already installed?
 
Old 09-08-2015, 09:25 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by goldduo View Post
i plugged in the usb adapter before installation, but i passed.

lsusb give me:
Bus007 Device 001 ID 1d6b: 0001 Linux Foundation 1.1 root hub
Bus005 Device 001 ID 1d6b: 0001 Linux Foundation 2.0 root hub
............
7 lines.

the adapter is WiBee 802.11g, it does have a MAC and S/N. i dont have the CD anymore.

i thought if i can detect available wireless network, the adapter is already working, thus a driver is already installed?
When you run "lsusb" does the WiBee show up in the output at all?

If the kernel is already loading a module/driver for the WiBee usb device it would show in that output.

If you can see your network but can't connect it's probably a driver issue or you need to click on your network and type in your passphrase that you ISP gave you.

Is this your adapter?
http://www.premiertek.net/products/n...XS-2204-S.html

Last edited by Ztcoracat; 09-08-2015 at 09:28 PM.
 
1 members found this post helpful.
Old 09-08-2015, 09:38 PM   #6
goldduo
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ztcoracat View Post
When you run "lsusb" does the WiBee show up in the output at all?

If the kernel is already loading a module/driver for the WiBee usb device it would show in that output.

If you can see your network but can't connect it's probably a driver issue or you need to click on your network and type in your passphrase that you ISP gave you.

Is this your adapter?
http://www.premiertek.net/products/n...XS-2204-S.html
no, wiBee does not show up in lsusb. so i guess i need to install the driver?

yes, exactly that's my adapter. so if i get the driver, i burn it onto a CD. then how do i install it? i found that the driver is an .exe file?

Last edited by goldduo; 09-08-2015 at 09:40 PM.
 
Old 09-08-2015, 10:12 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by goldduo View Post
no, wiBee does not show up in lsusb. so i guess i need to install the driver?

yes, exactly that's my adapter. so if i get the driver, i burn it onto a CD. then how do i install it? i found that the driver is an .exe file?
If you can find the driver for Linux download it and put it in your Downloads directory.
The file extention for Linux is tar.gz- .exe is for Windows.

It should have a INSTALL file or a ReadMe file to tell you how to install it.
Use the tar xvf (name of driver.gz)
<OR> you could use the dpkg command to install the driver with apt-get.
 
Old 09-08-2015, 10:21 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
The link below is to the driver page. Scroll down to Linux, click on the link and select Save File to download. Extract it and there is a README file included with instructions. Good luck.

http://www.premiertek.net/top/download.html
 
1 members found this post helpful.
Old 09-08-2015, 11:15 PM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,160
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Hi all...

The fact that the adapter is not showing up in lsusb at all is a bit disconcerting. Installing the driver first may work but I wouldn't be surprised if it didn't.

Regards...
 
Old 09-08-2015, 11:16 PM   #10
goldduo
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
i burned the driver files onto a data CD, but i cannot mount the cdrom?

sudo -i
mount /dev/cdrom /mnt/cdrom

i got:
blk_update_request i/o error, dev sr0
buffer i/o error on dev sr0?
 
Old 09-08-2015, 11:37 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by goldduo View Post
i burned the driver files onto a data CD, but i cannot mount the cdrom?

sudo -i
mount /dev/cdrom /mnt/cdrom

i got:
blk_update_request i/o error, dev sr0
buffer i/o error on dev sr0?
Sorry I've never mounted a CD in the terminal because it has always shown on the desktop for me.
Try here:
http://www.cyberciti.biz/faq/mounting-cdrom-in-linux/
 
Old 09-09-2015, 12:38 AM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,160
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Quote:
Originally Posted by goldduo View Post
i burned the driver files onto a data CD, but i cannot mount the cdrom?

sudo -i
mount /dev/cdrom /mnt/cdrom

i got:
blk_update_request i/o error, dev sr0
buffer i/o error on dev sr0?
Hi...

It might be a lot easier to use a program with a gui for this task.

Regards...
 
Old 09-09-2015, 03:56 AM   #13
goldduo
LQ Newbie
 
Registered: Sep 2015
Posts: 7

Original Poster
Rep: Reputation: Disabled
i reinstalled ubuntu server, this time version 15.

when i plugin the usb adapter, i see it listed in "lsusb" as RTL8187.
i do "lsmod | grep rtl" and i see rtl8187. doesn't that mean the driver is automatically installed?

still i got the same error "set failed on device wlan0: invalid argument"

now i am able to mount the cdrom, but unable to copy or even view the contents of the cdrom..
 
Old 09-09-2015, 03:09 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by goldduo View Post
i reinstalled ubuntu server, this time version 15.

when i plugin the usb adapter, i see it listed in "lsusb" as RTL8187.
i do "lsmod | grep rtl" and i see rtl8187. doesn't that mean the driver is automatically installed?

still i got the same error "set failed on device wlan0: invalid argument"

now i am able to mount the cdrom, but unable to copy or even view the contents of the cdrom..

Yes, according to this link the RTL8187 is the driver for the adapter.
https://wireless.wiki.kernel.org/en/...rivers/rtl8187

Maybe try:
sudo modprobe rtl8187 like in this thread.
http://ubuntuforums.org/showthread.php?t=1904757&page=5

Last edited by Ztcoracat; 09-09-2015 at 03:14 PM.
 
  


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
How to setup wifi? gor0 *BSD 12 07-19-2014 11:46 AM
[SOLVED] CAN'T setup WIFI... gor0 Arch 3 06-11-2014 10:05 PM
Wifi setup on FreeBSD lucmove *BSD 19 06-09-2014 03:48 PM
Wifi Setup for Wifi hotspots? business_kid Slackware 4 11-03-2010 04:37 AM
wifi setup help Enigma Linux - Wireless Networking 4 03-24-2003 02:07 PM


All times are GMT -5. The time now is 06:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration