LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-28-2007, 04:40 PM   #1
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Rep: Reputation: 15
Slack11/Truckstop.net/Wifi


Hey,

I currently ave no home internet connection, meaning that I tend to use my laptop for wireless a lot. Unfortunately, I'm having trouble getting this to work in Linux.

I am running Slackware 11 2.4 bareacpi on a Toshiba Sat. P4 2.4. A while back I got one of those $10 truckstop.net wifi cards off of eBay. It works fine in Windows, but I ended up needing to use ndiswrapper to get it working in Linux. NDIS reports that the card is fully functional, and I have a "wlan0" device in KDE's Network Settings, but even when KWifiManager reports 5/5 bars, Firefox will not go anywhere. I like to consider myself a knowledgable computer user, but even after a few hours of Googling/LQ-Searching, I'm stumped.

If anyone could assist me, that would be appreciated. I only use the internet about once a week, though, so this could be a little drawn out.
 
Old 01-28-2007, 04:51 PM   #2
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Are you getting a dhcp address?

Code:
jslittl@co-laptop:~$ ifconfig

<<snip>>
eth1      Link encap:Ethernet  HWaddr 00:1A:73:01:41:B5  
          inet addr:172.16.0.146  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::21a:73ff:fe01:41b5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:370268 errors:0 dropped:0 overruns:0 frame:0
          TX packets:256374 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:488823923 (466.1 MiB)  TX bytes:24773579 (23.6 MiB)
          Interrupt:50 Memory:c8000000-c8004000
<<snip>>
The line starting with inet addr is the one you are looking for. Yours will be different but should be there with an ip.

If your machine is set for dhcp and that line is not there or incorrect try running dhclient or dhcpd (not sure which slack uses).
 
Old 01-28-2007, 04:58 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
What happens when you as root;
iwlist wlan0 scanning
pick one
iwconfig essid "xxxxxx"
ifconfig wlan0 up
dhcpcd wlan0
 
Old 01-28-2007, 05:02 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
This topic might get more attention in the Slackware forum, or possibly even in Wireless Networking.

Anyway, it sounds like you aren't getting proper DNS information, but it is impossible to say without a bit more testing.

I don't know much about KDE's network configuration dialogs, so I will be telling you how to do this all from the command line. If that is a problem for you, I am sure somebody with more KDE experience could fill in the blanks.

I also assume you are connecting under Windows to get online. If that is the case, then you will want to write down the information you are getting from the network you are connecting to under Windows, and take a look at how that compares to Linux.

Under Windows, go so Start->Run, and then type in "cmd". Then run "ipconfig /all". Take down the important information for your wireless device, mainly IP address, gateway, and DNS.

Now boot into Slackware and connect as you have been doing. Since you are using the same WLAN card under Windows and Linux, the network's DHCP server should be giving you the same information under both OS's.

You will want to use "ifconfig" to find out your current TCP/IP information. Make sure the IP for "wlan0" matches (or is at least similar) to that which you got from the Windows side.

To check your default gateway, use the command "route". In the output of this command, the last line should say "default" on the left, and the IP address listed should match what you wrote down.

Finally, you will want to verify that the DNS information is correct. Do to that, run "cat /etc/resolv.conf". This will print out a text file which should list the DNS servers that your computer was given. They will be in the form of "nameserver xxx.xxx.xxx.xxx". Verify these match the known good information.

Now, one or more of those is probably going to be wrong, which is why you can't get online. Figure out which one doesn't match what you were getting under Windows, and we will be able to tell you what needs to be done to get it working.

If none of that is wrong...well, then this should be pretty interesting to troubleshoot.
 
Old 01-29-2007, 11:36 AM   #5
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Original Poster
Rep: Reputation: 15
Thank you for all the responses, guys! I will be on the internet again sometime this week (Thursday-ish...), so I will try to post the asked information then.
 
Old 01-31-2007, 10:44 AM   #6
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Original Poster
Rep: Reputation: 15
Hmm, ok, whenever I try to set options (essid, key, etc) with iwconfig, I am told that I can't becuase the options are invalid.
 
Old 01-31-2007, 03:30 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
What does your command look like? It should be in the form:

iwconfig wlan0 essid MYESSID

You get errors from that? What about using whatever GUI KDE uses for wireless configuration, does that work?
 
Old 01-31-2007, 07:20 PM   #8
steevols
Member
 
Registered: Dec 2006
Location: Eastcoast US
Distribution: Slackware 11
Posts: 52

Original Poster
Rep: Reputation: 15
I'm getting errors when I use iwconfig, not GUI's. The GUI does nothing.

Here's what happens when I...
Code:
bash-3.1# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:198 errors:0 dropped:0 overruns:0 frame:0
          TX packets:198 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16444 (16.0 KiB)  TX bytes:16444 (16.0 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:04:DB:00:C4:A1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Memory:21000000-21000800

bash-3.1# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"harvin"  Nickname:"toshiba"
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:20:A6:51:3A:27
          Bit Rate=11 Mb/s   Tx-Power:17 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:54/100  Signal level:-61 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
Old 01-31-2007, 07:24 PM   #9
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I don't see the errors.
 
  


Reply

Tags
slackware, wireless



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
gnome ,openoffice in slack11!! arkarkwin Slackware 7 12-26-2006 07:49 AM
Udev or hotplug on slack11 Old_Fogie Slackware 8 11-09-2006 10:06 AM
how to spot errors on slack11 IvanPro Slackware 3 10-17-2006 01:48 PM
How to forward net connection on ppp0 to wifi at eth1 slackist Linux - Wireless Networking 1 01-04-2006 10:34 AM
SuSE 9.2 with acx111 WiFi sees AP but no net Kokuyo Linux - Wireless Networking 4 01-27-2005 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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