LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-06-2006, 05:20 PM   #1
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Rep: Reputation: 15
Slackware network configuration-plz help


Hi...

After using fedora core 4. i installed Slackware 10.2.Everything was ok with fedora core 4.Now,with slackware,i have a problem with network configuration. The problem is internet is not working with slackware. i can't enter any web-sites and i can't use gaim. nothing works.

Here're my adresses. These are correct and i was using them with fedora core 4. Everthing was ok.

(no dhcp)static ip
ip :10.10.1.190
netmask :255.255.255.0
gateway :10.10.10.1
DNS :193.140.41.90

But when i apply this settings to slackware and when i try some commands at terminal,it gives me the following messages :

ping www google com ( it does not let me to write with dots )
ping : unknown host www google com

and when i write " ping 123.123.123.123 " .. here, what happens ;

ping 123.123.123.123
connect : Network is unreachable

---------- And here are my Slackware settings ----------
i can't find what the problem is
here is my " /etc/rc.d/rc.inet1.conf " file

#config information for eth0

IPADDR[0]="10.10.1.190"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
.
.
.
.
.
GATEWAY="10.10.10.1"

when i wrote " route - n" at terminal ;

Destination Gateway Genmask Flags Metric Ref Use iface
10.10.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

when i wrote "ifconfig" at terminal.There writes :

eth0 Link encap:Ethernet HWaddr 00:C1:8F:A6:9E:13
inet addr:10.10.1.190 Bcast: 10.10.1.255 Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Rx packets:8530 errors:0 dropped:0 overruns:0 frame:0
Tx packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Rx bytes:732849(175.6kb) Tx bytes:0(0,0)
interrupt:6 Base adress:0xe000

lo Link encap:Local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
Rx packets:0 errors:0 dropped:0 overruns:0 frame:0
Tx packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Rx bytes:0(0.0b) Tx bytes:0(0,0)


Please help me. This is the 6th time i m installing slackware in 2 days. I can't find what the problem is. why i can't connect to internet ? .. what should i do to enter any web-site.. ?

Thank you in advance..
and i'm sorry for my bad english..

thanx
Rommeo..
 
Old 01-06-2006, 05:26 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
With an IP of 10.10.1.190 and a netmask of 255.255.255.0, your line of
Code:
GATEWAY="10.10.10.1"
will never work because that gateway's IP address is not within the range of your local subnet. Did you make a typo in the IPADDR of the GATEWAY perhaps?

Eric
 
Old 01-06-2006, 05:32 PM   #3
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
it's correct i m sure about it. i have just checked it again. i know that they are different. But we re connecting over a hub. And at least 200 computer connects to same ip adress. Maybe it's because of that.
 
Old 01-06-2006, 05:41 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
A default gateway MUST be in the same network segment as you plugged your own PC into.
So go looking for the PC or server or router that connects the 10.10.1 to the 10.10.10 network, and that one's IP address (10.10.1.xxx) is the IP you enter after "GATEWAY="

Eric
 
Old 01-06-2006, 05:52 PM   #5
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
But i was using these settings at fedora core 4 and it was working. i know how to do it with gnome. But at slackware 10.2 there is no gnome. Those IP adresses are correct i can send you the screenshot of my settings.( now i m using those adresses and as u see i can connect(on win ) ) ..thank you for your help ..
 
Old 01-06-2006, 06:07 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
What's the output of "ipconfig /all" in your Windows?
 
Old 01-06-2006, 06:11 PM   #7
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
i have found those things from win " ipconfig -all ". i know what you mean and i m checking again.. :

dhcp : no
ip : 10.10.1.190
netmask : 255.255.255.0
gateway : 10.10.10.1
DNS : 193.140.41.90

i can send you the screenshot. i'm sure about those adresses.
 
Old 01-06-2006, 07:17 PM   #8
zhy2111314
Member
 
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91

Rep: Reputation: 15
try to use the command "netconfig" to configure your internet arguments.
 
Old 01-06-2006, 07:19 PM   #9
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
i tried that so many times. But same result.. i cant connect ..
 
Old 01-06-2006, 07:23 PM   #10
zhy2111314
Member
 
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91

Rep: Reputation: 15
Then I think that maybe the configuration of your DNS.
Check /etc/resolv.conf for "nameserver ..."
 
Old 01-06-2006, 07:24 PM   #11
zhy2111314
Member
 
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91

Rep: Reputation: 15
remember to restart your system after the modification.
 
Old 01-06-2006, 07:37 PM   #12
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
here is my "/etc/resolv.conf"

search anyname.com ( this adress is not important )
nameserver 193.140.41.90
 
Old 01-06-2006, 08:47 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
in your "route" output there's no gateway set.( first post )
it should be marked "UG".

also, have you tried with your ip set to 10.10.10.190 ?

egag
 
Old 01-06-2006, 09:22 PM   #14
Rommeo
Member
 
Registered: Jan 2006
Posts: 51

Original Poster
Rep: Reputation: 15
yes all of my routes are 0.0.0.0 and i dont know how can i change them ?.. and i did not try 10.10.10.190 ( my ip = 10.10.1.190 )
my gateway must be " 10.10.10.1 " i think i have to see my gateway at route table ?? right ?
 
Old 01-06-2006, 09:35 PM   #15
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Or, change your netmask to 255.255.0.0
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
slackware network configuration adsl shashank Linux - Software 2 05-31-2005 04:36 AM
Network configuration with DHCP in Slackware 10 kernelvn Slackware 1 08-18-2004 05:52 AM
Slackware 9 PCI network card configuration Harpune Linux - Networking 2 08-26-2003 12:15 PM
Enabling Slackware Configuration on Network Machines deesto Slackware 5 12-21-2002 11:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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