LinuxQuestions.org
Help answer threads with 0 replies.
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 11-06-2005, 04:14 PM   #1
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
Cable internet boradband connection trouble


Hy!
I have problems with setting up a cable internet connection. I don't use DHCP, so i have to configure my IP-address, netmask, gateway and DNS IP-s manualy. (i'm using slackware 10.1) I tried with netconfig, but it didn't work, then i tried this:

Code:
ifconfig eth0 my-IP up
ifconfig eth0 netmask netmask-IP
route add default gw gateway-IP eth0
the last command outputed this error:
SIOCADDRT: network is unreachable

ifconfig doesn't report nothing unusual - no errors, it reports all IP's corectly. My IP address is in /etc/hosts, nameservers-IP's are in /etc/resolv.conf.

I tried to ping myself (127.0.0.1), but i get this error message:
connect: network is ureachable

mii-tool posts the link is ok

I don't have any idea for fixing the problem, so please help if you can! My kernel is 2.6.9. and the internet connection worked via PPPOE and if i was using DHCP.
 
Old 11-06-2005, 04:27 PM   #2
Back_to_Linux
Member
 
Registered: Sep 2005
Location: PARIS
Distribution: Mandriva 10.0 Communoty
Posts: 117

Rep: Reputation: 15
why are you add eth0 at the end of line?
for me the following is enough.
#ifconfig eth0 YOUR_IP netmask YOUR_NETMASK pointopoint [IP_ISP] up
#route add default gw YOUR_IP
or
#ifconfig eth0 YOUR_IP netmask YOUR_NETMASK pointopoint [IP_ISP] up
#route add default gw dev eth0.
 
Old 11-07-2005, 02:54 PM   #3
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Original Poster
Rep: Reputation: 35
I read this piece of manual: http://www.gentoo.org/doc/en/handboo...?part=1&chap=3 and solved my problem! It's like you said Back_to_Linux. The problem was i didn't specify the broadcast address
 
  


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
Can't get to the internet through usb/cable connection GeneB Mandriva 3 02-07-2005 03:17 AM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 12:48 PM
trouble in cable internet DHCP p_penduko Red Hat 3 08-31-2003 09:05 AM
Shared Cable internet connection problems sgroy45 Linux - Networking 6 03-07-2002 04:50 PM
trouble getting internet with a cable modem carlcromer Linux - Networking 3 05-03-2001 01:38 PM

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

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