LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-24-2003, 07:58 PM   #1
Belize
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Exclamation Help with wireless lan internet, nearly got it to work


Hi

After alot of work today, the red hat 9 is detecting the wireless lan ( eth0 ) settings and drivers correctly, and it is succesfully working.
I can ping people from my LAN, but cant do nothing in internet.
A problem I had before is my broadcast mask be 10.255.255.255 instead of 255.255.255.255 . I fixed that with adding

ifconfig eth0 broadcast 255.255.255.255

to /etc/rc.d/rc.local

I dont know what else I should change so it works, I reapeat I can ping my default gateway ( 10.4.1.63 ), my IP is 10.4.2.14 but internet doesnt work. Thanks in advance !
 
Old 10-24-2003, 10:01 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Did you enter DNS information?
su
neat
Enter the DNS information in the interface properties.
 
Old 10-26-2003, 05:05 AM   #3
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
The kid next door configured it without entering any DNS information.

How can I check what my DNS servers are in WinXP ?
 
Old 10-26-2003, 08:43 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
ipconfig /all in a console window.
 
Old 10-26-2003, 01:10 PM   #5
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
thank you for your help but it is still not working

I entered the DNS I saw in ipconfig /all ( 10.4.1.53 ) as a Primary DNS server in the Network options, saved and rebooted. The difference is now that the error when I try to open a web page is not "Unable to contact linuxquestions.org" ( or something similar ) but is "The connection was refused when attempting to contact linuxquestions.org"

Why is this happening
I dont know if that matters but in "hostname" above the DNS options I entered the hostname of my box "Belize" and in the "Hosts" part I entered my IP "10.4.2.14". Peace

Last edited by Belize; 10-26-2003 at 01:12 PM.
 
Old 10-26-2003, 01:29 PM   #6
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
also I noticed my loopback ( lo ) device dont have broadcast mask.
 
Old 10-26-2003, 01:53 PM   #7
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
The DNS host name probably isn't causing any problem, but take your IP out of the hosts list. Put a search path in the DNS tab, which you can get from Windows with ping -a on the DNS server. (For syntax comparison, for my IP it's oc.cox.net)

After applying the changes, cat /ect/hosts to see if it's back to a simple state. Something like
127.0.0.1 localhost.localdomain localhost
You can add other hosts later, but let's get it working first.
 
Old 10-26-2003, 02:18 PM   #8
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
Ok I will delete my IP from the hosts list and will check after that in /etc/hosts, but I didnt get that :
Quote:
Put a search path in the DNS tab, which you can get from Windows with ping -a on the DNS server. (For syntax comparison, for my IP it's oc.cox.net)
C:\Documents and Settings\Kaloian>ping -a 10.4.1.53

Pinging people.las-local.ch [10.4.1.53] with 32 bytes of data:

Reply from 10.4.1.53: bytes=32 time=15ms TTL=128
Reply from 10.4.1.53: bytes=32 time=3ms TTL=128
Reply from 10.4.1.53: bytes=32 time=12ms TTL=128
Reply from 10.4.1.53: bytes=32 time=3ms TTL=128

is search path people.las-local.ch ?

Last edited by Belize; 10-26-2003 at 02:19 PM.
 
Old 10-26-2003, 03:22 PM   #9
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
I think just las-local.ch, but try people.las-local.ch if that doesn't work.
I'm not even sure it's critical but I'm trying to eliminate any options. The missing DNS server info and having wrong stuff in the hosts were probably the roadblocks.
 
Old 10-26-2003, 06:28 PM   #10
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
if you can ping the subnet but not the internet, it's definitely a DNS problem. i think the issue here is that you don't have your default gateway set.

to do this under slackware, issue "#route add default gw <IP of firewall/router connection to internet>". if you set the default gateway correctly, it should forward you the correct IPs for the DNSs you use to connect to the internet.

HTH,
y-p
 
Old 10-27-2003, 02:32 PM   #11
Belize
Member
 
Registered: Jul 2003
Posts: 113

Original Poster
Rep: Reputation: 15
2Gnu : I deleted the host and made sure there is nothing in /etc/hosts
It aint working.
I tried both with people.las-local.ch and las-local.ch

yocompia : I have my default gateway set - 10.4.1.63 and I use red hat, not slackware. With slackware I had problems with the drivers for the wireless lan card : os_onrico ( something like that )

Additional information - I have stopped smpt service from running on my system, if that does matter.

Last edited by Belize; 10-27-2003 at 02:35 PM.
 
  


Reply


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
No Internet but LAN and VPN connect LAN work fine??? xavior Suse/Novell 7 11-09-2005 01:14 PM
SUSE 9.2 Internet via LAN does not work luchticha Suse/Novell 9 11-01-2005 06:27 AM
Wireless lan connected but no internet XJNick Linux - Wireless Networking 5 08-07-2005 10:35 PM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM
Wireless Lan card cant access internet bitablespore Linux - Wireless Networking 3 11-17-2003 06:38 PM


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

Main Menu
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