LinuxQuestions.org
Help answer threads with 0 replies.
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 02-03-2007, 08:16 AM   #1
probabil1ty
LQ Newbie
 
Registered: Dec 2006
Distribution: LFS, Gentoo
Posts: 19

Rep: Reputation: 0
Cannot connect through wireless-ethernet bridge Belkin F5D7330


I am still a newbie in configuring (and understanding) network interfaces.

Here is my network:

internet <=====> modem <=====> router(wrt54g) <-----------> wireless-ethernet bridge (belkin f5d7330) <=======> PC (gentoo)

The local ip of the router is 192.168.1.1. I am using dhcp.

The bridge is configured as follows:
Quote:
Version Information
Firmware Version F5D7330_2.0.0.2
Boot Code Version v1.03.12.bk
Hardware Version F5D7330


LAN Settings
Ethernet MAC 00-17-3f-25-dc-ae
Adapter Name luke
IP Configuration DHCP
IP Address 192.168.1.101
Subnet Mask 255.255.255.0
Gateway Address 192.168.1.1


WLAN Settings
WLAN MAC 00-18-8b-85-c7-41
SSID linksys
Operating Mode Infrastructure
Encryption WEP
On the PC, after I ran "ifconfig eth0 192.168.1.200", ifconfig gives:
Quote:

eth0 Link encap:Ethernet HWaddr 00:18:8B:85:C7:41
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6211 errors:0 dropped:0 overruns:0 frame:0
TX packets:5566 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5302754 (5.0 Mb) TX bytes:601293 (587.2 Kb)
Interrupt:5

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:1550 errors:0 dropped:0 overruns:0 frame:0
TX packets:1550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:128956 (125.9 Kb) TX bytes:128956 (125.9 Kb)
dhcp times out:

Quote:
dhcpcd -d eth0
Info, eth0: dhcpcd 3.0.10 starting
Info, eth0: ethernet address = 0:18:8b:85:c7:41
Info, eth0: deleting IP address 192.168.1.200
Error, eth0: truncated message
Info, eth0: broadcasting for a lease
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Debug, eth0: waiting on select for 20 seconds
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Debug, eth0: sending DHCP_DISCOVER with xid 855176617
Error, eth0: timed out
Info, eth0: exiting
I am able to ping the router (192.168.1.1) from the PC, but I cannot connect to the internet.
How should I configure my bridge and/or my PC ?

Thanks for your consideration. Any kind of help would be very welcome.
 
Old 02-03-2007, 09:10 AM   #2
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Quote:
I am able to ping the router (192.168.1.1) from the PC, but I cannot connect to the internet.
Can you ping a public IP, like 4.2.2.2? If it responses, check /etc/resolv.conf and make sure you have correct nameserver entries.
 
Old 02-03-2007, 09:16 AM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Have you set the DNS ips. Doing like wildar says goto http://216.239.39.99/ which is google. Does it connect?

Brian
 
Old 02-03-2007, 09:16 AM   #4
probabil1ty
LQ Newbie
 
Registered: Dec 2006
Distribution: LFS, Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry, I cannot ping any public ip
Code:
ping 4.2.2.2
connect: Network is unreachable
Same results for 216.239.39.99

Last edited by probabil1ty; 02-03-2007 at 09:18 AM.
 
Old 02-03-2007, 09:22 AM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Post output from the command ' /sbin/route -n '.

Brian
 
Old 02-03-2007, 09:27 AM   #6
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Quote:
Originally Posted by probabil1ty
Sorry, I cannot ping any public ip
Code:
ping 4.2.2.2
connect: Network is unreachable
Same results for 216.239.39.99
Log in to your Linksys router and go to the "Status" page and make sure you are getting IP assignment from you ISP. If this checks good, then go back to "Basic Setup" tab and then "Advanced Routing" sub tab. Switch the operating mode, save settings, then try ping 4.2.2.2 again.

My Linksys router is set to Gateway mode.
 
Old 02-03-2007, 09:35 AM   #7
probabil1ty
LQ Newbie
 
Registered: Dec 2006
Distribution: LFS, Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
/sbin/route -n
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
The router is set to gateway mode, and I believe its settings are fine.
I am using a laptop with a wireless card connected to the network to write this post and everything works well.
 
Old 02-03-2007, 09:49 AM   #8
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Code:
# route add -net default gateway 192.168.1.1 dev eth0
 
Old 02-03-2007, 09:56 AM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
As wildar says you have not defined a gateway yet.

Brian
 
Old 02-03-2007, 10:03 AM   #10
probabil1ty
LQ Newbie
 
Registered: Dec 2006
Distribution: LFS, Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Now I am able to ping and connect to 216.239.39.99, but still not to http://www.google.com .

/etc/resolv.conf
Quote:
# Generated by net-scripts for interface lo domain matrix.
This file should be modified by dhcpcd. But as it still times out, nothing is done.
 
Old 02-03-2007, 10:16 AM   #11
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Edit /etc/resolv.conf and insert lines for nameserver <dns IP address>.
Example:
Code:
nameserver 4.2.2.2
nameserver 4.2.2.3
You probably will want to use your ISP's DNS servers. Should be able to find those addresses on the status page of you Linksys router.
 
Old 02-03-2007, 11:05 AM   #12
probabil1ty
LQ Newbie
 
Registered: Dec 2006
Distribution: LFS, Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
I finally got it working. I still don't understand why dhcpcd couldn't handle all this for me.
Thank you very much for your precious help.
 
Old 02-03-2007, 11:14 AM   #13
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Quote:
Originally Posted by probabil1ty
I finally got it working. I still don't understand why dhcpcd couldn't handle all this for me.
Thank you very much for your precious help.
Might want to check the DHCP server settings on the Basic Settings page of your Linksys router and add your DNS servers there. This should pass the DNS server address to your system, but doesn't really matter at this point if you got /etc/resolv.conf configured and working.
 
Old 02-03-2007, 12:13 PM   #14
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Glad to see you have it going.

Brian
 
  


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
Cannot access to web interface of wireless ethernet bridge Belkin F5D7330 probabil1ty Linux - Wireless Networking 6 01-24-2007 01:14 PM
wireless ethernet bridge to various Hotspots? dabailey Linux - Wireless Networking 0 10-17-2006 03:01 PM
Wireless ethernet bridge problems FiliusVitae Linux - Wireless Networking 2 02-13-2006 01:42 AM
Belkin Wireless Ethernet Bridge on Mandriva LE 2005 bluseychris Linux - Wireless Networking 5 07-19-2005 01:50 PM
try an ethernet to wireless bridge!! leec11 Linux - Wireless Networking 0 10-10-2004 09:42 PM

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

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