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 - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-30-2006, 07:41 PM   #1
megamoose
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
My Belkin Wireless card is working but I can't get onto the internet


Hey guys. For years I have attempted and attempted to get linux working but have always failed, but today I actually managed to get online and connect to website, check my email etc on linux for the first time ever...... then I restarted and couldnt remember how I got it the last time

I am using SlackWare linux and a Belkin Wireless card.

In Windows I can set everything up fine it's just Linus takes a while getting used to.

We have a router and my static IP should be 192.168.2.11 with a Gateway of 192.168.2.1. Pretty standard I guess.

Basically I need some guidance to how to tell me Linux these variables.

Linux recongnises I have a card and like I said before I restarted I somehow managed to get on the internet.

This is probably really easy to do and I just don't know because I am a newbie.

I really have no good experiance with Linux so please be patient with me. I would just love to know how I can get onto the internet.

Thanks for the help guys

Mark
 
Old 12-30-2006, 10:21 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Code:
su
<enter your root password>
ifconfig wlan0 inet 192.168.2.11
should take care of that. Good luck.

Note: if your wireless card isn't wlan0, use whatever it is. If you don't know, guess wlan0 first, then eth1 then eth0.
 
Old 12-31-2006, 05:41 AM   #3
megamoose
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply mate.

Okay I have entered that command and started X.......

No it didn't work

Here are some results that should hopefully help you guys.

ifconfig returns:

Code:
wlan0  Link encap: Ethernet  HWaddr 00:11:50:0B:9D:26
inet addr:192.168.2.11 Bcast@192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
....and then some other stuff I can't be bothered typing out.
iwconfig now returns:

Code:
IEEE 802.11g ESSID "home network" Nickname:"localhost"
Mode: Managed Frequency:2.462 GHz Access Point: 00:0C:41:8A:AB:52
Bit Rate=11 Mb/s Tx-Power:14 dBm
RTS thr=2347 B  Fragment thr=2346
Encryption key: (XXXXXXXXXXXXXXX) Security mode:restricted
Power Management:off
Link Quality: 100/100 Signal level: -50 dBm Noise Level: -256 dBm
And everything after than has a value of 0 except Invalid misc which has 3231
It looks as if it has found it and it has even connected to it but I just don't know why it doesnt work

Mark
 
Old 12-31-2006, 08:40 AM   #4
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
My guess is because you are using a static address you haven't set your default gateway.

route add default gw 192.168.1.1

then try to ping something outside your network
 
Old 12-31-2006, 10:55 AM   #5
megamoose
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mi6
My guess is because you are using a static address you haven't set your default gateway.

route add default gw 192.168.1.1

then try to ping something outside your network
Thanks mi6. But that didn't do anything. It still says "ping: unknown host google.com"

Mark
 
Old 12-31-2006, 11:57 AM   #6
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
bummer...

wups, that should have read 192.168.2.1 NOT 192.168.1.1 (I should double check my typing from now on!)

Can you ping your gateway? Try ping 192.168.2.1 to see if you are at least getting to your router.

Also, what does route -n output?

Last edited by mi6; 12-31-2006 at 11:58 AM.
 
  


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
DISCUSSION: HOWTO wirless working on Thinkpad R40e with Belkin Wireless G notebook card philsta LinuxAnswers Discussion 0 08-30-2006 12:07 PM
HOWTO wirless working on Thinkpad R40e with Belkin Wireless G notebook card philsta Fedora 1 07-23-2006 06:53 PM
belkin wireless card suddenly stops working crouguer Linux - Wireless Networking 5 12-28-2005 12:59 AM
Is the belkin 6020 wireless internet card supported by linux?? izquierdista Linux - Wireless Networking 1 09-17-2005 01:46 AM
Belkin Wireless Card Connecting To Belkin Router Skippy06 SUSE / openSUSE 1 02-02-2005 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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