LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 05-02-2009, 08:48 AM   #1
boler
Member
 
Registered: Jan 2008
Location: London
Distribution: Slackware 13.37
Posts: 38

Rep: Reputation: 16
Problem with pinging slackbox


Hi, this problem is really becoming a headache. I've seached everywhere for answers but can't find a resolution.


I have desktop running slackware and a laptop running ubuntu. Both computers are connected on my wireless network using a netgear router and both can access the internet fine.

However, although I can ping my laptop and router from my slackware desktop I cannot ping slackware from my ubuntu laptop. The laptop can ping the router though and itself using ping localhost.

Also strangely, when I go into my rounter config and list the "Attached Devices" my laptop wireless and eth0 connections are shown but not my desktop wireless. Like I said, both can access the internet.

Any ideas of how I can unpick this problem?

My desktop is using Slackware 12.2 with the inbuilt ath5k wireless drivers in kernel 2.6.29.2.

Thanks,
 
Old 05-02-2009, 10:10 AM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 87
Give us the output of "ifconfig" and "route -n" of both machines to understand how the network is configured.

Another question: are you trying to ping by IP address or by name?

Last edited by niels.horn; 05-02-2009 at 10:12 AM.
 
Old 05-02-2009, 01:59 PM   #3
boler
Member
 
Registered: Jan 2008
Location: London
Distribution: Slackware 13.37
Posts: 38

Original Poster
Rep: Reputation: 16
ifconfig from Slackware desktop

Quote:
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:21896 errors:0 dropped:0 overruns:0 frame:0
TX packets:21896 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:66475860 (63.3 MiB) TX bytes:66475860 (63.3 MiB)

wlan0 Link encap:Ethernet HWaddr 00:18:4d:eb:75:f5
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::218:4dff:feeb:75f5/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17640 errors:0 dropped:0 overruns:0 frame:0
TX packets:15803 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18655612 (17.7 MiB) TX bytes:4182129 (3.9 MiB)

wmaster0 Link encap:UNSPEC HWaddr 00-18-4D-EB-75-F5-77-6C-00-00-00-00-00-00-00-00
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)
route -n from Slackware desktop
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
ifconfig from ubuntu laptop
Quote:
eth0 Link encap:Ethernet HWaddr 00:1d:09:4c:b3:82
inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21d:9ff:fe4c:b382/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5905 (5.9 KB) TX bytes:5886 (5.8 KB)
Interrupt:16

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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

wlan0 Link encap:Ethernet HWaddr 00:1f:3c:32:3b:f1
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21f:3cff:fe32:3bf1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8634 (8.6 KB) TX bytes:3837 (3.8 KB)

wmaster0 Link encap:UNSPEC HWaddr 00-1F-3C-32-3B-F1-62-66-00-00-00-00-00-00-00-00
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)
route -n from ubuntu laptop
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

UPDATE: I connected the Slackbox and Ubuntu laptop to another spare router using ethernet cables and could ping both machines each way. Therefore this is my ath5k driver / wireless card issue.

I am using "ping 192.168.0.2" etc..

Thanks for the help.
 
Old 05-02-2009, 02:14 PM   #4
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 87
Your Ubuntu installation is connected to the router both by wire (eth0 / 192.168.0.8) and wireless (wlan0 / 192.168.0.3).

I *guess* the packets get lost somehow between the two interfaces, as both routes are valid from your laptop to your desktop (192.168.0.2).
Try from your laptop pinging using a specific interface like:

Code:
ping -c 4 -I wlan0 192.168.0.2
or
Code:
ping -c 4 -I 192.168.0.3 192.168.0.2
and tell us if this works...
 
  


Reply

Tags
ping


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
Problem with echolink on WinXP through a slackbox Bob Oehler Slackware 1 09-09-2006 11:09 PM
pinging problem yenush Linux - Networking 1 06-07-2004 07:20 AM
Pinging Problem warlord07 Linux - Networking 1 09-19-2003 01:02 AM
Please somone help internet problem for my slackbox. KrazyKid Slackware 3 08-08-2002 01:52 PM
Problem Pinging kliquori Linux - Networking 6 05-09-2001 03:33 AM


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