LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 06: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 07:02 PM.
 
Old 09-08-2015, 07:23 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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, 07:31 PM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Welcome to LinuxQuestions!

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

Play Bonny!

 
Old 09-08-2015, 08: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, 08:25 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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 08:28 PM.
 
1 members found this post helpful.
Old 09-08-2015, 08: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 08:40 PM.
 
Old 09-08-2015, 09:12 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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, 09:21 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
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, 10:15 PM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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, 10: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, 10:37 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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-08-2015, 11:38 PM   #12
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
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, 02: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, 02:09 PM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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 02:14 PM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 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