LinuxQuestions.org
Review your favorite Linux distribution.
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 04-22-2005, 01:05 PM   #1
linswf
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
ethernet connection to an otherly wireless machine


Hi All!

If this question already has an answer in the forum I would appreciate the link since
I couldn't find any relevant information....

I have an FC3 box with a wireless USB connection (configured in the ifcfg-wlan0 file)
the problem arose when I tried to connect an ethernet line between the box and another
machine. now I've set up a ifcfg-eth0 file and the network script shows no errors when I run it,
only that I can connect to the box from the machine connected through the wire, but I cant access the internet from the FC3 box.

when the ethernet line is disconnected, I am able to access the internet through the wireless connection so it seems it is a priorities issue,

any thoughts would be greatly appreciated.

Thanks.
 
Old 04-22-2005, 01:50 PM   #2
marvin00001
Member
 
Registered: Apr 2005
Posts: 59

Rep: Reputation: 15
please post your ifconfig output and post your staitc routing table out also give the address of the machines on the lan and what they do
 
Old 04-22-2005, 01:54 PM   #3
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Rep: Reputation: 15
From what it sounds like, you need to setup a default route. To do this, do the following:

route add default gw x.x.x.x

x.x.x.x = gateway IP addres to the Internet
 
Old 04-22-2005, 03:17 PM   #4
linswf
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Hey,

Thanks for the quick responses,
setting the route table didnt work.

This is the ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:0C:6E:B9:79:09
inet addr:192.168.0.47 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:6eff:feb9:7909/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61636 errors:0 dropped:0 overruns:0 frame:0
TX packets:149615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:87944034 (83.8 MiB) TX bytes:137871551 (131.4 MiB)
Interrupt:3 Base address:0x9800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:25145 errors:0 dropped:0 overruns:0 frame:0
TX packets:25145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5002029 (4.7 MiB) TX bytes:5002029 (4.7 MiB)

wlan0 Link encap:Ethernet HWaddr 00:05:5D:9D:E6:9D
inet addr:192.168.0.47 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::205:5dff:fe9d:e69d/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:56215 errors:0 dropped:0 overruns:0 frame:0
TX packets:745 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17348466 (16.5 MiB) TX bytes:61038 (59.6 KiB)

and the route output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 255.255.255.0 UG 0 0 0 wlan0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 * 255.255.0.0 U 0 0 0 wlan0

any ideas?

Last edited by linswf; 04-22-2005 at 03:19 PM.
 
Old 04-23-2005, 05:19 AM   #5
marvin00001
Member
 
Registered: Apr 2005
Posts: 59

Rep: Reputation: 15
Please change the ip address of eth0 or wlan0 they are conflicting as they have the same ip address
 
Old 04-23-2005, 05:37 AM   #6
linswf
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks again for the quick answer,
However, changing the IP for the wlan0 device yeilds no apparent change.

It seems I have to change the priorities of the devices, since although the route table holds a proper setting for the wlan0 device (with gw 192.168.0.1), when I ping the router (192.168.0.1) the ping is sent from the eth0 device, and I get a "destination host unreachable).

any other thoughts?
 
Old 04-24-2005, 08:11 AM   #7
linswf
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
sorry for the bounce
I got the issue resolved, changing the direct line network to different ip's (192.168.1.x) solved it.
thanks to all helpers....
 
  


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
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 10:45 AM
Routing between a wired ethernet (internet connection) and a wireless card (home net) ner0 Linux - Wireless Networking 8 11-29-2004 01:12 AM
Trying to get machine to recognize ethernet card Unmaking Linux - General 1 10-17-2004 12:24 AM
Strange Ethernet Problem - New machine GAVollink Linux - Networking 2 04-11-2002 09:30 PM
My RedHat Linux 6.0 machine is not able to recognise ethernet card shailesh_lohiya Linux - Networking 4 03-08-2001 02:34 PM

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

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