LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 03-15-2009, 02:07 PM   #1
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Rep: Reputation: 0
Unable to ping modem or router in Suse 10 using static IP


Recently i have installed Suse Linux Enterprise Desktop 10 sp1 10.1-0, but after installing Suse (Sled 10) i am now not able to ping my modem (IP add. 192.168.1.1), i have given static ip as 192.168.1.3, but it is pining 192.168.1.3 (i.e. self).
Also i have tried ping by removing firewall, but that is also not working, then i have given the "Nameserver as 192.168.1.1" (ip of modem), but even then it is not working. then tried to modify /etc/resolve.conf by manually putting the value as " nameserver 192.168.1.1" but even that is not working.
I am having an ADSL2 Modem for broadband connection which is working absolutely fne in Windows XP, but not in Sled 10.

Last edited by nileshkumar; 03-15-2009 at 02:09 PM.
 
Old 03-15-2009, 02:10 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,325

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
what is your default GW?
 
Old 03-16-2009, 10:09 AM   #3
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Unable to ping modem or router in Suse 10 using static IP

192.168.1.1

the same as that of modem ip.
 
Old 03-16-2009, 10:16 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,325

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
could you give us the output from

Code:
ifconfig
route -n
Do you use a modem or router?
 
Old 03-17-2009, 11:02 AM   #5
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
thanku sir,
I don't know what has been changed in 2 days but this reply i am sending from Suse (Linux).
You must be surprised, even i was when after rebooting today i found that the modem is pinging, i can connect using Kinternet.

Well still thank to you and this forum, for the support.
 
Old 03-21-2009, 11:21 AM   #6
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Hello friends,
I am here again with the same problem, today after 2 days when restarted the Suse Linux Enterprise desktop 10 SP1 10.1-0 (Sled 10), again i am not able to ping the modem, and the o/p of the above command is as given below

Slinux-9uh7:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:18:A7:5C:4F
inet addr:192.168.1.3 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::230:18ff:fea7:5c4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 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.0 b) TX bytes:0 (0.0 b)
Interrupt:209 Base address:0xe000

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:143 errors:0 dropped:0 overruns:0 frame:0
TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9424 (9.2 Kb) TX bytes:9424 (9.2 Kb)

Slinux-9uh7:~ # route -n
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
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

also i think that their must be some service or configuration that is changing every time i am booting up and thus making me unable to ping to modem.
 
Old 03-21-2009, 01:27 PM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,325

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
inet addr:192.168.1.3 Bcast:255.255.255.255 Mask:255.255.255.0
Your Bcast is wrong, should be 192.168.1.255
How do you connect, do you use fixed ip's or dhcp ?
 
Old 03-21-2009, 02:41 PM   #8
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
i use fixed (i.e. static) ip, and i have configured these ip's.

But one more thing if my Broadcast ip is wrong, how come i was able to ping (and even surf net), to the modem.
 
Old 03-21-2009, 03:15 PM   #9
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Slinux-9uh7:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:18:A7:5C:4F
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:18ff:fea7:5c4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:125 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:209 Base address:0x6000

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:227 errors:0 dropped:0 overruns:0 frame:0
TX packets:227 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16734 (16.3 Kb) TX bytes:16734 (16.3 Kb)
Slinux-9uh7:~ # route -n
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
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

now this is the result of setting done through ifup traditional setup.
previously i was using networkmanager setup which was causing this problem.

here again i am using static IP.

Last edited by nileshkumar; 03-21-2009 at 03:19 PM.
 
Old 03-21-2009, 03:51 PM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,325

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
and now does it work?
 
Old 03-22-2009, 01:24 PM   #11
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
no offcourse that is why i am here.
 
Old 03-23-2009, 10:44 AM   #12
nileshkumar
LQ Newbie
 
Registered: Nov 2007
Posts: 14

Original Poster
Rep: Reputation: 0
well again today after rebooting the modem is pinging.
can anybody tell me what is going on, how come this is pinging some time and not pinging at other time.
 
  


Reply

Tags
network, suse10


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux router unable to ping itself or other machines on the LAN cyberfishee Linux - Networking 12 05-31-2007 07:27 PM
unable to ping through router trainpic Linux - Networking 4 08-08-2006 10:04 AM
Cannot ping router after assigning static IP mickwombat Linux - Networking 5 06-11-2006 07:09 PM
server will not connect using static ip, SMC8013WG-CCR. modem/router soulwatcher1974 Linux - Networking 1 02-13-2006 05:08 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 10:10 AM


All times are GMT -5. The time now is 03:50 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
Open Source Consulting | Domain Registration