LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Wifi Configuration problem (http://www.linuxquestions.org/questions/slackware-14/wifi-configuration-problem-921607/)

peter576 01-02-2012 09:19 AM

Wifi Configuration problem
 
Hi everyone,
I've recently installed Slackware on my laptop and I can't connect to the internet.
I have a Sony Vaio NW21 laptop, I have 2 rooters, i should connect to the first with wi-fi and the second is going out to the internet, it's IP is 192.168.0.1 .
In netconfig, I wrote peter to host name and peter.sony.hu for domain name. I've added a valid DNS server and 192.168.0.1 as default gateway. My wifi led isn't blinking, which is strange, so it can be a driver problem too.

onebuck 01-02-2012 09:37 AM

Member response
 
Hi,

Be sure the firmware for your device is in place. If the device is configured properly from a driver/firmware perspective then you can use;
Configuring your network in Slackware is Alien_Bob's excellent article on the way network cards are configured in Slackware. + Loads of internal reference links + Ethernet & Wireless

You could use 'wicd' from '/extra' but be sure to have '/etc/rc.d/rc.inet1.conf' either empty or restored to original state so there will be no conflicts.

Is the domain 'peter.sony.hu' valid? Does not seem to be registered.

peter576 01-02-2012 09:40 AM

it's need to be registered?
i don't know if i have a domain name but i had to write something

colorpurple21859 01-02-2012 10:04 AM

Does
Quote:

ifconfig -a
show your wireless device, if not you have a driver problem, if so install wicd from extra as suggested. You may also need to know your wireless network domain name, type of encryption if any and the encryption key

peter576 01-02-2012 10:23 AM

it says
eth0 Link encap:Ethernet HWaddr [a mac address]
inet addr:192.168.0.164 Ccast:192.168.0.255 Mask:255.255.255.0
and so on...

that means the driver is working?

onebuck 01-02-2012 10:36 AM

Member response
 
Hi,
Quote:

Originally Posted by peter576 (Post 4563783)
it's need to be registered?
i don't know if i have a domain name but i had to write something

No, you did not need to enter a domain. You could default to empty. If your domain is not valid in the '/etc/resolv.conf' or DNS then you are searching and will have problems.

Just edit '/etc/resolv.conf' to comment via '#' out the line 'search peter.sony.hu' to '#search peter.sony.hu'.

BTW, you should read the messages that are presented during the install & netconfig.

Richard Cranium 01-02-2012 01:30 PM

Quote:

Originally Posted by peter576 (Post 4563820)
it says
eth0 Link encap:Ethernet HWaddr [a mac address]
inet addr:192.168.0.164 Ccast:192.168.0.255 Mask:255.255.255.0
and so on...

that means the driver is working?

I doubt that is your wireless card; it's probably your ethernet card.

Try running the command
Code:

/usr/sbin/iw phy
and see what you get. That requires that you've installed the iw package; if you installed everything, then you've got this too.

tobyl 01-03-2012 09:33 AM

googling suggests that your wireless hardware is Intel Wireless WiFi Link 5100AGN

you can confirn this by typing in a terminal:

Quote:

/sbin/lspci
if you cannot see that hardware in the list, tell us what you do have for a wireless controller.
if it is there, you need the iwlagn driver loaded.

back in your terminal, type
Quote:

/sbin/lsmod
and search for iwlagn (you can narrow your search with '/sbin/lsmod |grep iwlagn')

if you do not find that module, try (you must be root for this)

Quote:

modprobe iwlagn
finally type

Quote:

/sbin/ifconfig -a
again, and come back to us with your results

tobyl

Richard Cranium 01-04-2012 01:21 AM

Unless the OP has blacklisted the modules required for the wireless card, udev would have loaded the kernel module for the card.


All times are GMT -5. The time now is 01:09 AM.