LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-12-2013, 09:29 AM   #1
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Rep: Reputation: Disabled
Unable to access internet through wifi.


Hi Guys,

I have just installed slackware 14 64-bit and I am new to everything in linux. So I was trying to connect to my wifi but it wont work.

I have dell studio 1558 with "Dell Wireless 1520 Wireless-N WLAN mini card". Issuing
Code:
iwconfig
and it shows wlan0 as that adapter that I have

Now i am not able to understand as to what to do.

Looking forward to your answers.

Thanks.
 
Old 06-12-2013, 09:38 AM   #2
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,197

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
you dont show us the output of your iwconfig command; this information mite be helpful in diagnosing:
Code:
echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n
 
Old 06-12-2013, 09:49 AM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,049

Rep: Reputation: 170Reputation: 170
Are you using X at all? ie, KDE or XFCE, etc., or are you cli only?

The reason I ask is that it *may* be simpler (as in: more intuitive) vs the cli for a newbie. If you are running X, you may want to consider using either networkmanager or wicd to get your wireless up and running.

Either way, welcome to Slackware in particular, and Linux in general. The folks here are extremely helpful, knowledgeable, and most importantly, very patient. So come on aboard.

cheers,
 
Old 06-12-2013, 09:56 AM   #4
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,197

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
true the gui is more intuitive but without knowing which distro version / desktop environment / window manager / network manager utility / ... its hard to give instruction (i am also, assuming they tried the obvious like selecting their wifi router from the dropdown menu but it didnt work).

if you would like to read ahead in the curriculum, you can try these commands to connect via the command line:
Code:
sudo iwlist <network-card> scan # this will use the <network-card> interface (that from the iwconfig command above) and scan for wireless routers that are accessible.
sudo iwconfig <network-card> essid <your-router-name> # assuming no security (the access point names will be provided by the previous iwlist command).
sudo dhclient # will attempt to get ip-address, subnet mask, dns server information automatically from your router assuming dhcp is turned on on your router.
 
Old 06-12-2013, 10:04 AM   #5
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,273

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
As you are new to Slackware I would go with either networkmanager or wicd. The wicd utility is in the /extra directory on your Slackware DVD.
 
Old 06-12-2013, 11:16 AM   #6
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
Schneidz, the output of iwconfig and the long command that you wrote are in the attached files.

mrclisdue, I appreciate your welcome and yes I have installed KDE. Infact, I have done the default complete installation since I don't have the depth of slackware to mess around.

hitest, I tried wicd which is there when it boots up to the desktop and selected wlan0 but nothing was shown or maybe I am not aware of the next step.

Thanks for the response guys.
Attached Files
File Type: txt query-output.txt (9.1 KB, 8 views)
File Type: txt iwconfig-output.txt (751 Bytes, 3 views)
 
Old 06-12-2013, 11:58 AM   #7
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,197

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
try running
Code:
sudo ifconfig wlan0 up && ifconfig
and let us know if you get any errors.

this seems related:
http://www.linuxquestions.org/questi...4/#post4230929

is there a physical switch on the laptop case that needs to be turned on ?

Last edited by schneidz; 06-12-2013 at 12:03 PM.
 
Old 06-12-2013, 12:35 PM   #8
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,049

Rep: Reputation: 170Reputation: 170
Quote:
Originally Posted by schneidz View Post
try running
Code:
sudo ifconfig wlan0 up && ifconfig
and let us know if you get any errors.
However, "sudo" has to be configured in Slackware in order to prevent the careless (as in "freely using what are often root privileges") use of root permissions.

As per your output, wlan0 appears to be up and running, however, issue the ifconfig wlan0 cmd provided by shneidz, then:

iwlist wlan0 scan

the output should show access points within range.

As pointed out earlier, it's at this point that the cli requires specific input in order to connect. Once the output of iwlist is considered, this additional input can be added to ifconfig, iwconfig, etc.

If you follow the link provided by shneizd, you'll find his posts with the proper cli method for connecting (just drop to root unless you've got sudo configured.)

The initial complexity of connecting via cli is why it's been suggested to connect using X, initially, then once it's confirmed to work, the cli can be explored more easily, and further.

In either case, more info is necessary, and the more info, the better. so please continue along either or both paths.

Using wicd/networkmanager, you've indicated that it shows wlan0, but nothing else. Normally the wicd window should show a list of available ap's...is the "scan" button alive? (as in not greyed-out)

cheers,
 
Old 06-13-2013, 11:38 AM   #9
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
wlan0 no private ioctls

I have attached the screenshot of this error. I think its driver related.

And I do have wifi which is protected with

Quote:
Security Mode: WPA2-Personal
&
Encryption: TKIP or AES
&
Broadcast disabled
I can associate with my router's ESSID but I am not able to figure out how and where to enter PSK.

Also, I am able to scan with my interface and I can see a few AP's.

As far a WICD is concerned, after selecting wlan0 and clicking on 'Apply', nothing new is shown and nothing changes.

Please let me know if you need more information on this.

I am focussing on command line because I like to use command line Once I am able to connect with the command line, I can surely search from there and see how to use WICD or vice-versa.

Right now, I have to restart into Slackware to find the desired output, and since I am unable to use internet there, I have to again restart into windows.
Attached Images
File Type: jpeg snapshot.jpeg (75.3 KB, 19 views)

Last edited by info.latawaz; 06-13-2013 at 11:40 AM. Reason: Missed the attachment
 
Old 06-13-2013, 12:21 PM   #10
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,197

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
i dont use wpa... but i think you need a program called wpa_supplicant in order to enter in the wpa hex-key.
 
Old 06-13-2013, 09:06 PM   #11
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
i dont use wpa... but i think you need a program called wpa_supplicant in order to enter in the wpa hex-key.
Thanks, I am looking into wpa_supplicant. I'll come back with my findings.

Appreciate your help on this!

Last edited by info.latawaz; 06-13-2013 at 10:35 PM.
 
Old 06-13-2013, 10:55 PM   #12
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,807

Rep: Reputation: 234Reputation: 234Reputation: 234
Easy. See this post here: http://www.linuxquestions.org/questi...7/#post4890398
 
Old 06-14-2013, 12:42 AM   #13
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
Worked with wpa_supplicant by following http://alien.slackbook.org/dokuwiki/...ckware:network with no luck. Attaching screenshots of the problem that I am facing.

rkelsen, I'll give your solution a try. Thanks
Attached Images
File Type: jpeg logs.jpeg (200.4 KB, 12 views)
File Type: jpeg commands.jpeg (81.4 KB, 12 views)

Last edited by info.latawaz; 06-14-2013 at 12:44 AM.
 
Old 06-14-2013, 01:52 AM   #14
info.latawaz
Member
 
Registered: Jun 2013
Location: India
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
Did that, received an error. I have attached the screenshot of error. What do you think is the problem?
Attached Images
File Type: jpeg nm-applet.jpeg (9.1 KB, 9 views)
 
Old 06-14-2013, 02:24 AM   #15
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,517

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
You are trying to use a device that needs a firmware that is not part of default Slackware. http://wikidevi.com/wiki/Dell_Wirele...WLAN_Mini-Card
Hence the ioctls errors in your commands.jpeg screenshot.
You will need to install the b43-firmware and b43-fwcutter packages from SlackBuilds.org http://slackbuilds.org/result/?search=b43&sv=14.0
 
1 members found this post helpful.
  


Reply

Tags
b43, b43-legacy, networkmanager, slackware 14, wifi


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
[SOLVED] WiFi is connected but unable to access internet in RHEL 6 and Fedora 17 aniruddha.jagdale Linux - Wireless Networking 6 04-28-2013 01:30 PM
unable to access wifi INTERNET connection in ubuntu 11.04 naveen_patil Linux - Newbie 5 02-11-2012 07:49 AM
Sporadic internet access on unencrypted wifi FogSwimmer Linux - Wireless Networking 0 09-14-2007 10:23 PM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 11:28 AM
Internet access through router and wifi connection caudalie Linux - Wireless Networking 3 01-22-2004 04:51 PM


All times are GMT -5. The time now is 06:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration