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 06-20-2004, 03:10 PM   #1
reinhard
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
suse 9.1 network card setup with fixed ip address


Hi whizzkids

I have this problem when using yast to configure a static ip-address for my ethernet card: After I enter the ip address i got from my isp i can't connect to the internet. Kinternet reports then i should check my cables...

When i get my ip-address through dhcp, the connection is fine.

I installed vsftpd on my standalone machine and I could only connect to the ftp when I entered the static ip-adres, but then I had no connection to the internet When I go through dhcp i can't connect to my ftp.

?????

THnx for breaking your brains on this one.
 
Old 06-20-2004, 05:44 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
hi reinhard, welcome to lq. when you setup the static address, do you restart network services before trying to connect to the net? when you say you can't connect, does that mean you can't view webpages in a browser? have you tried pinging the actual ip's..i.e.

ping 64.179.4.149 this is lq.
ping 66.102.7.99 this is google.

one more thing, how do you connect..i.e. cable modem to nic, etc.
good luck.
 
Old 06-21-2004, 04:54 AM   #3
reinhard
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you,

I have an adsl connection on dsl0 (speedtouch 510) with a sis900 ethernet card on eth0.
When i close yast dsl setup or network card setup, all network services are restarted. As soon as i do this with the fixed ip address I get messages like "Can't connect to pop3.worldonline.nl" and "couldn't find www.google.com"

When i change it back again to dhcp everything is fine again, but I can't log into my ftp.

When i can't connect to the internet i can connect to my ftp, but i think it makes an internal connection.

It must be something with the configuration of the modem on the one hand and the ethernet card on the other. I just don't understand how. When I look at my windows setup of the modem I see 4 different ip addresses, all of them different from the one I got from my Isp. I'm just desperately confused.

What is the difference between the "local ip-address" and the "remote ip-address", I got only one ip-address from my isp.
 
Old 06-21-2004, 06:44 AM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
when you say "connect to my ftp" are you speaking about another machine in your local area network, or a machine out on the internet. does the suse machine have two nics? when you setup a static ip, do you include the nameservers of your isp?
 
Old 06-21-2004, 08:18 AM   #5
reinhard
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I have one computer at home. When i say connect to my ftp i mean that i connect to my wives home directory which is on the same machine and same hard disk. I don't know if this is called a network then.

What is a "nic"? What is two nics? you see i'm a newbie.

I don't specify dns. is a "dynamic name server" exactly the same as a "name server"?
 
Old 06-21-2004, 08:29 AM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
nic = network interface card, sorry about that. if you can, post

/etc/sysconfig/network/ifcfg-eth0

from both the static ip, and when you have dhcp.
 
Old 06-21-2004, 09:39 AM   #7
reinhard
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Here you are:

BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='3hqH.ddtsvpOPOp2'
_nm_name='bus-pci-0000:00:03.0'
BROADCAST='82.169.57.255'
IPADDR='82.169.57.254'
NETMASK='255.255.255.0'
NETWORK='82.169.57.0'


BOOTPROTO='static'
MTU=''
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='3hqH.ddtsvpOPOp2'
_nm_name='bus-pci-0000:00:03.0'
BROADCAST='82.169.57.255'
IPADDR='82.169.57.254'
NETMASK='255.255.255.0'
NETWORK='82.169.57.0'
 
Old 06-21-2004, 11:35 AM   #8
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
when you have the static address in place what does /etc/resolv.conf look like?
 
Old 06-22-2004, 12:18 PM   #9
reinhard
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
resolv.conf doesn't change contents. It's in both cases:

nameserver 10.0.0.138
search local


But this may be of interest:

route (with dhcp):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default SpeedTouch.lan 0.0.0.0 UG 0 0 0 eth0

static:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
82.169.57.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo

I think the problem lies in the missing default line. Where can i add something so it will appear?
 
Old 06-22-2004, 06:34 PM   #10
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
i'm not sure w/yast, i haven't had the pleasure of trying suse as of yet. from the command line it's

route add default gw xxx.xxx.xxx.xxx

where xxx.xxx.xxx.xxx is the ip. in your case, however, it looks as if you need SpeedTouch.lan, i've read somewhere that the modem is reachable via http://10.0.0.138 from any browser, but , i'm just not sure what goes in the default gw spot. i am currently searching for any and all info concerning speedtouch modems and static ip addresses. hopefully one of us will find what you need.
good luck.
 
Old 06-23-2004, 11:34 AM   #11
reinhard
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
when i do as root:

route add default gw 10.0.0.138

route add default gw SpeedTouch.lan

I get as a reply:

SIOCADDRT: Network is unreachable

I don't really understand.
 
Old 06-23-2004, 01:11 PM   #12
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
my vote is to set it up w/dhcp, so you have internet access, and let's sort out your problem getting to your ftp folder.
 
  


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
i need fixed IP address. bruse Linux - Networking 5 09-19-2005 06:27 AM
Fixed IP Address with DHCP dgreenbean Linux - Networking 9 09-19-2004 01:12 PM
Problem activating network card with no IP address Olusegun Linux - Networking 1 12-30-2002 03:38 PM
SUSE 7.3 can't config. Ethos card can't setup Network XillusionsX Linux - General 3 12-06-2001 08:40 PM
help: network card seems to work, but can't get ip address via dhcp. aidano Linux - Networking 1 10-30-2001 11:27 PM


All times are GMT -5. The time now is 01:43 PM.

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