LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2005, 09:29 AM   #1
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Rep: Reputation: 51
Iproute2 connection through router failed


I'm having bit of a problem configuring my connection to internet.
I recently installed Linux From Scratch 6.1, it's a description on how to make a distro using only sources packages.
After a lot of trouble it's booting, but now I'm having a problem in configuring my internet connection.

I use iproute2 and dhcpcd to set up my connection.
I have a ethernet card connected to a router/modem, which uses dhcp.
It's a hardware router/modem which works super with debian and all the windows installs in the network.
I use the following commands to set up my connection:

Code:
$ip link set eth0 up dynamic on 
$ip addr add 192.168.2.0/24 dev eth0
$ip route add default via 192.168.2.1 dev eth0
$dhcpcd eth0
I installed lynx from source. My distro is very limited so I don't have X yet.
When I use lynx I can connect to the web-interface of my router, but not to other sites.
I can also ping the router and other active PC's on the network but not beyond it.
I tried pinging a server which is supposed to be always active using it's ip, but didn't get a response.

Has anyone got a clue what the problem could be?
Am I missing some essential program or is my kernel configured wrong?

Thanks in advance for the help,
Hugo
 
  


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
Bind9: NDC command failed : rndc: connect failed: connection refused Boudewijn Linux - Networking 19 01-02-2014 07:19 AM
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
My cable connection through router is like 56K connection ExtremeSupremacy Linux - Networking 1 07-10-2005 03:01 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM

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

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