LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 03-22-2004, 09:27 PM   #1
sonajiso
Member
 
Registered: Oct 2003
Posts: 34

Rep: Reputation: 15
Question RedHat 9 and traceroute throught Madwifi WiFi


Through my questions posted here, it will soon be clear to you that I am new to Linux. Despite this, I have managed to install RedHat 9 on my Sony grt250 laptop, relatively easily. I even managed to get the built-in wireless card working, using madwifi on an atheros chipset. Even WEP works, hence I have no issues communicating with my router, allowing DHCP to work as well. I can also ping URL's, further showing that DNS works. Technically, I have no problems connecting to the Internet whatsoever.

However, when trying to traceroute to any valid URL, or IP for that matter, the trace times out at my router, which I find strange given that I can perform the same trace trough winXP on my laptop without a problem. What the trace returns is, along with some other info:


Here is my routing table, ifconfig for ath0 (the interface for wifi), and arp entries (although I think that does not matter that much). The MAC addresses were changed for obvious reasons.

[root@localhost root]# traceroute www__dot__google__dot__com (in its real form of course)
traceroute: Warning: www__dot__google__dot__com has multiple addresses; using 216.239.39.104traceroute to www__dot__google__dot__akadns__dot__net (216.239.39.104), 30 hops max, 38 byte packets
1 192.168.0.1 (192.168.0.1) 3.914 ms 5.181 ms 4.960 ms
2 * * *
3 * * *

[root@localhost root]# ifconfig ath0
ath0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50291 errors:313512 dropped:0 overruns:0 frame:5649
TX packets:5064 errors:13 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:8053404 (7.6 Mb) TX bytes:946131 (923.9 Kb)
Interrupt:5 Memory:e0940000-e0950000


[root@localhost root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 ath0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 ath0


[root@localhost root]# arp
Address HWtype HWaddress Flags Mask Iface192.168.0.1 ether XX:XX:XX:XX:XX:XX C ath0

[root@localhost root]# iwconfig ath0
ath0 IEEE 802.11-DS ESSID:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Mode:Managed Frequency:2.XXXGHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=11Mb/s Tx-Powerff Sensitivity=0/3
Retryff RTS thrff Fragment thrff
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX Encryption modepen Power Managementff
Link Quality:0/92 Signal level:51/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


Why traceroute does not work is a mystery to me. Any help that would allow me to perform this command would be greatly appreciated!

Sonajiso.
 
Old 03-22-2004, 10:24 PM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
recheck /etc/sysconfig/network-scripts/ifcfg-ath0

and make sure you have the following parameters set:

GATEWAY=192.168.0.1
NETMASK=255.255.255.0
BROADCAST=192.168.0.255

I noticed
169.254.0.0 * 255.255.0.0 U 0 0 0 lo

on my routing table this goes to my wireless device instead of lo.

Only other thing to check is if you have something like a firewall, example iptables running on your redhat system.

ps -ef | grep iptable
 
Old 04-02-2004, 01:49 AM   #3
OrinocoRedhat
LQ Newbie
 
Registered: Apr 2004
Distribution: Redhat 9
Posts: 12

Rep: Reputation: 0
I have Redhat 9 and have an Orinoco b/g 8470-WD card and cannot get the mad wifi driver installed for my card that has the atheros chipset

Here is are the commands I am running.

I heard you do NOT have to recomplie your kernel becuase I have all the modules loading anyways so no problem there.

- Ryan

[user@localhost madwifi]$ make
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make); \
done
make[1]: Entering directory `/home/emger/madwifi/ath_hal'
make -C /lib/modules/2.4.20-8/build SUBDIRS=/home/emger/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.4.20-8'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[2]: *** [modules] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/emger/madwifi/ath_hal'
make[1]: Entering directory `/home/emger/madwifi/wlan'
make -C /lib/modules/2.4.20-8/build SUBDIRS=/home/emger/madwifi/wlan modules
make[2]: Entering directory `/usr/src/linux-2.4.20-8'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[2]: *** [modules] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/emger/madwifi/wlan'
make[1]: Entering directory `/home/emger/madwifi/driver'
make -C /lib/modules/2.4.20-8/build SUBDIRS=/home/emger/madwifi/driver modules
make[2]: Entering directory `/usr/src/linux-2.4.20-8'

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[2]: *** [modules] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/emger/madwifi/driver'
make: *** [all] Error 2
[user@localhost madwifi]$
 
  


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
MadWiFi for WG311T - RedHat 9 eSsence Linux - Wireless Networking 0 09-17-2005 07:58 PM
Redhat 9 + ibm R40 + madwifi r52 Linux - Newbie 0 02-19-2004 05:17 AM
connect throught X rafalek *BSD 5 11-25-2003 02:31 AM
all of your redhat wifi problems solved skiguy Linux - Wireless Networking 0 11-12-2003 09:20 PM
configuring WiFi card with Redhat 9 Hotfeet Linux - Hardware 1 11-05-2003 05:28 AM


All times are GMT -5. The time now is 10:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration