Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-30-2007, 07:06 AM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Rep:
|
Totally Hosed Network - Don't know where to start.
Okay, so at one point, this was working, then I dist-upgraded and a whole mess of settings changed and I don't know enough to know how or why. Boo hoo. Anyhow, let me see if I can explain what I'd like to accomplish.
I want to setup a LAN with the internal domain name of "borg.lan". I'm pretty sure that can be done. I have three machines that do networking: a Windows XP laptop with a wireless 802.11g/b card and an ethernet jack [7of9.borg.lan], a wireless router (LinkSys "Compact Wireless-G Broadband Router" Model#: WRT54GC)[unimatrix.borg.lan], and a DELL P4, 2.8GHz, 512MB RAM running Ubuntu 7.10 (Gutsy Gibbon) with a wireless 802.11g/b card and an ethernet jack [locutus.borg.lan]. The connection to the Internet is through a secure wireless connection to the college. For whatever reason, the laptop gets a poor signal, so I'd prefer to rely on the Ubuntu machine picking up the wireless signal, routing it to the WRT54GC wireless router who would then provide DHCP connections via wireless or four wired ports.
I know that I had been using wifi-radar to get a signal before and that it was working solidly. Now I can't seem to get a signal or correctly configure the wireless card. I remember installing the ndiswrapper for my wireless card.
I ran a script I saw someone else using on here and it gave me a lot of data. I'll share it with you. I know that there are a lot of files that go into the network setup. I just don't know which ones I need to configure. Please help?
|
|
|
11-30-2007, 07:10 AM
|
#2
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Original Poster
Rep:
|
./collectNWData.sh
I can only assume that I ran it correctly. I ran it on locutus.borg.lan and this is the output file it generated:
Code:
collectNWData.sh V0.5.0.1
--- What's the type of networktopology?
--- (2) DSL (Linux)Router <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
!!! CND0120E: Network card eth0 has no IP address. Details on http://www.wiki.framp.de/CND0120E
!!! CND0180I: The system can't ping an external IP address. Details on http://www.wiki.framp.de/CND0180I
!!! CND0140E: No default gateway set on your system. Details on http://www.wiki.framp.de/CND0140E
!!! CND0160E: Unable to access nameserver defined in /etc/resolv.conf. Details on http://www.wiki.framp.de/CND0160E
==================================================================================================
==================================================================================================
*** uname -a
Linux locutus 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
==================================================================================================
*** cat /etc/SuSE-release
cat: /etc/SuSE-release: No such file or directory
==================================================================================================
*** cat /etc/resolv.conf | grep -v "^#" | grep -v "^$"
nameserver 128.193.4.20
nameserver 128.193.0.10
==================================================================================================
*** cat /etc/hosts | grep -v "^#" | grep -v "^$" | grep -v "::"
127.0.0.1 localhost
127.0.1.1 locutus
128.193.139.1 gw
==================================================================================================
*** cat /proc/sys/net/ipv4/ip_forward
0
==================================================================================================
*** /sbin/iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
==================================================================================================
*** /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
==================================================================================================
*** /usr/sbin/arp -n
==================================================================================================
*** /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:B5:9B:B4:BB
UP BROADCAST 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:20 Base address:0xac00
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:268 (268.0 b) TX bytes:268 (268.0 b)
wlan0 Link encap:Ethernet HWaddr 00:12:17:A0:19:CD
UP BROADCAST 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)
wmaster0 Link encap:UNSPEC HWaddr 00-12-17-A0-19-CD-00-00-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)
==================================================================================================
*** pingTests
127.0.0.1 : Ping OK
connect: Network is unreachable
195.135.220.3 : No ping response
ping: unknown host www.suse.de
www.suse.de : No ping response
==================================================================================================
*** /usr/bin/lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 11)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX200] (rev b2)
02:00.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
02:01.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)
02:02.0 Communication controller: Agere Systems 56k WinModem (rev 01)
==================================================================================================
*** /usr/sbin/lsusb
Bus 004 Device 003: ID 090c:1000 Feiya Technology Corp. Memory Bar
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a Optical Wheel Mouse
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
==================================================================================================
*** /sbin/lsmod
Module Size Used by
iptable_filter 3968 0
iptable_nat 8708 0
nf_nat 20140 1 iptable_nat
nf_conntrack_ipv4 19724 2 iptable_nat
nf_conntrack 65288 3 iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 6936 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables 13924 2 iptable_filter,iptable_nat
x_tables 16260 2 iptable_nat,ip_tables
nls_iso8859_1 5120 1
nls_cp437 6784 1
vfat 14080 1
fat 54300 1 vfat
usb_storage 73024 1
ide_core 116804 1 usb_storage
libusual 18448 1 usb_storage
snd_rtctimer 4384 0
ext2 67208 1
binfmt_misc 12936 1
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
ppdev 10244 0
ipv6 273892 10
speedstep_lib 6404 0
cpufreq_ondemand 9612 0
cpufreq_powersave 2688 0
cpufreq_userspace 5280 0
cpufreq_conservative 8072 0
cpufreq_stats 7232 0
freq_table 5792 2 cpufreq_ondemand,cpufreq_stats
video 18060 0
sbs 19592 0
container 5504 0
button 8976 0
ac 6148 0
dock 10656 0
battery 11012 0
af_packet 24840 0
lp 12580 0
arc4 2944 2
snd_intel8x0 34972 3
snd_ac97_codec 100644 1 snd_intel8x0
ecb 4608 2
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
blkcipher 7556 1 ecb
snd_pcm 80388 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
nvidia 4716468 22
snd_seq_dummy 4740 0
rc80211_simple 6912 1
snd_seq_oss 33152 0
snd_seq_midi 9600 0
i2c_core 26112 1 nvidia
snd_rawmidi 25728 1 snd_seq_midi
rt2500pci 19072 0
rt2x00pci 11520 1 rt2500pci
rt2x00lib 19584 2 rt2500pci,rt2x00pci
rfkill 8208 1 rt2x00lib
mac80211 171016 4 rc80211_simple,rt2500pci,rt2x00pci,rt2x00lib
cfg80211 7304 1 mac80211
input_polldev 5896 1 rt2x00lib
crc_itu_t 3072 1 rt2x00lib
eeprom_93cx6 3200 1 rt2500pci
parport_pc 37412 1
parport 37448 3 ppdev,lp,parport_pc
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
pcspkr 4224 0
psmouse 39952 0
snd_timer 24324 4 snd_rtctimer,snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 54660 14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
snd_page_alloc 11400 2 snd_intel8x0,snd_pcm
shpchp 34580 0
pci_hotplug 32704 1 shpchp
serio_raw 8068 0
iTCO_wdt 11940 0
iTCO_vendor_support 4868 1 iTCO_wdt
intel_agp 25620 1
agpgart 35016 2 nvidia,intel_agp
evdev 11136 3
ext3 133896 1
jbd 60456 1 ext3
mbcache 9732 2 ext2,ext3
sg 36764 0
sr_mod 17828 0
cdrom 37536 1 sr_mod
sd_mod 30336 7
ata_generic 8452 0
usbhid 29536 0
hid 28928 1 usbhid
floppy 60004 0
ata_piix 17540 3
libata 125168 2 ata_generic,ata_piix
scsi_mod 147084 5 usb_storage,sg,sr_mod,sd_mod,libata
8139too 27776 0
mii 6528 1 8139too
ehci_hcd 36492 0
uhci_hcd 26640 0
usbcore 138632 6 usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
thermal 14344 0
processor 32072 1 thermal
fan 5764 0
fuse 47124 1
apparmor 40728 0
commoncap 8320 1 apparmor
==================================================================================================
*** /sbin/iptables -L -vn
Chain INPUT (policy ACCEPT 2 packets, 168 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 2 packets, 168 bytes)
pkts bytes target prot opt in out source destination
==================================================================================================
*** cat /etc/sysconfig/SuSEfirewall2 | grep -v "^#" | grep -v "^$"
cat: /etc/sysconfig/SuSEfirewall2: No such file or directory
==================================================================================================
*** cat /etc/sysconfig/network/config | grep -v "^#" | grep -v "^$"
cat: /etc/sysconfig/network/config: No such file or directory
==================================================================================================
*** cat /etc/sysconfig/sysctl | grep -v "^#" | grep -v "^$"
cat: /etc/sysconfig/sysctl: No such file or directory
==================================================================================================
*** cat /etc/sysconfig/network/dhcp | grep -v "^#" | grep -v "^$"
cat: /etc/sysconfig/network/dhcp: No such file or directory
==================================================================================================
*** cat /etc/sysconfig/proxy | grep -v "^#" | grep -v "^$"
cat: /etc/sysconfig/proxy: No such file or directory
==================================================================================================
*** cat /etc/sysconfig/ssh | grep -v "^#" | grep -v "^$"
cat: /etc/sysconfig/ssh: No such file or directory
==================================================================================================
*** catMyConfig
ls: /etc/sysconfig/network/ifcfg-*: No such file or directory
==================================================================================================
*** /sbin/iwconfig | /bin/sed "s/\(Encryption key:\)\([^o][^f][^f][^ ]*\)\(.*\)/\1xx xxx-xxxx-xxxx-xxxx-xxxx-xxxxxxx\3/"
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
==================================================================================================
*** /bin/grep -i radio /var/log/messages | /usr/bin/tail -n 5
==================================================================================================
*** /bin/grep -i firmware /var/log/messages | /usr/bin/tail -n 5
==================================================================================================
*** ls -ls /lib/firmware
total 12
4 drwxr-xr-x 4 root root 4096 2007-04-15 04:53 2.6.20-15-generic
4 drwxr-xr-x 4 root root 4096 2007-09-24 18:02 2.6.20-16-generic
4 drwxr-xr-x 4 root root 4096 2007-11-14 16:25 2.6.22-14-generic
==================================================================================================
*** /bin/grep -i persistent /etc/sysconfig/network/config | grep -v "^#" | grep -v "^$"
grep: /etc/sysconfig/network/config: No such file or directory
==================================================================================================
*** /bin/egrep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* | grep -v "^#" | grep -v "^$"
grep: /etc/udev/rules.d/*net_persistent*: No such file or directory
/etc/udev/rules.d/70-persistent-net.rules:# Entries are automatically added by the 75-persistent-net-generator.rules
/etc/udev/rules.d/70-persistent-net.rules:# Converted from /etc/iftab on upgrade
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:10:b5:9b:b4:bb", ATTRS{type}=="1", NAME="eth0"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:12:17:a0:19:cd", ATTRS{type}=="1", NAME="wlan0"
/etc/udev/rules.d/75-persistent-net-generator.rules:# these rules generate rules for persistent network device naming
/etc/udev/rules.d/75-persistent-net-generator.rules:ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*|ath*|wlan*|ra*|sta*" \
/etc/udev/rules.d/75-persistent-net-generator.rules: NAME!="?*", DRIVERS=="?*", GOTO="persistent_net_generator_do"
/etc/udev/rules.d/75-persistent-net-generator.rules:GOTO="persistent_net_generator_end"
/etc/udev/rules.d/75-persistent-net-generator.rules:LABEL="persistent_net_generator_do"
/etc/udev/rules.d/75-persistent-net-generator.rules:# build device description string to add a comment the generated rule
/etc/udev/rules.d/75-persistent-net-generator.rules:IMPORT{program}="write_net_rules $attr{address}"
/etc/udev/rules.d/75-persistent-net-generator.rules:LABEL="persistent_net_generator_end"
==================================================================================================
*** /bin/egrep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*|egrep -v '#|blacklist'
|
|
|
11-30-2007, 07:28 AM
|
#3
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Original Poster
Rep:
|
./collectNWData.sh
Double Post - Oops!
Last edited by Dirk Stiletto; 11-30-2007 at 07:29 AM.
Reason: Double Post - Oops!
|
|
|
All times are GMT -5. The time now is 02:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|