Have to reconfigure wireless after each boot

Post Reply
Message
Author
rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#16 Post by rokytnji »

Flash wrote:roky, what happens if you now switch wireless adapter cards?
When I have switched them out on pcmcia Flash. The kernel assigns a new network interface. If original was wlan0. With the new card it becomes wlan1 with the new card.

Antix has better command line tools eing Debian and H2 script based commands like inxi.

Example right now from this laptop I am posting from

Code: Select all

$ inxi -n
Network:   Card-1: Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k 
           IF: wlan0 state: up mac: <filtered>
           Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2 
           IF: eth0 state: down mac:<filtered>
If I switched out that internal Atheros adapter by turning it off in bios and hooking/plugged in a wireless usb adapter. wlan1 would show up as the new
network interface since the hardware change.

I have personally seen this happen on my Lighthouse install where eth1 is wireless and when card was changed. eth2 was what I had to configure for the next card.

I am not in Puppy right now so I can't swear if these commands will work in Puppy bash
but here they are anyways.

Code: Select all

ip addr show

Code: Select all

ip link show
One long sucker I made up for when I install Debian based stuff. It worked for me somewhat
in my Guydog 5.0.1 SD card install on that Acer Aspire 5534 I run also.


Code: Select all

echo uname: && uname -a -m -p && echo lspci: && lspci  && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ip link show: && ip link show  && echo inxi -Fxz: && inxi -Fxz
One needs to install inxi which I posted about a long time ago in the forum.

http://www.murga-linux.com/puppy/viewtopic.php?t=53986

I try and insert as many troubleshooting tools I can get into Puppy if I find out about
them.


http://www.murga-linux.com/puppy/viewto ... 852#740852

Sorry you are having a hard time there borgward. But. It is the wifes birthday
and I gotta go spoil her now.

Happy Trails, Rok

Edited: edited long echo command to work in my Puppy version,
Last edited by rokytnji on Wed 04 Dec 2013, 21:18, edited 1 time in total.

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#17 Post by rokytnji »

borgward wrote:How to report this bug (having to reconfigure every time computer is rebooted)?
Flash might know better than me but I think it would not hurt to give a detailed post in this thread.

http://www.murga-linux.com/puppy/viewtopic.php?t=42593

And post the link to this thread in that post. Just my 2 cents.

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#18 Post by rokytnji »

I broke out the broke laptop and changed out wireless pcmcia. This one is a Dlink WNA 1330 Wireless G card capable of taking advantage of wpa_supplicant since I use wpa2 secured wireless. I edited my long echo command 2 posts up so it would work on my Lighthouse install. Wlanx is now wlan3 since I changed hardware/wireless.

Code: Select all

sh-4.1# echo uname: && uname -a -m -p && echo lspci: && lspci  && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ip link show: && ip link show  && echo inxi -Fxz: && inxi -Fxz
uname:
Linux Mariner 2.6.33.2 #1 SMP Mon Apr 5 12:55:04 Local time zone must be set--see zic m i686 GNU/Linux
lspci:
00:00.0 Class 0600: 8086:7190 (rev 03)
00:01.0 Class 0604: 8086:7191 (rev 03)
00:02.0 Class 0607: 104c:ac1b (rev 03)
00:02.1 Class 0607: 104c:ac1b (rev 03)
00:03.0 Class 0200: 8086:1229 (rev 09)
00:03.1 Class 0700: 115d:000c
00:05.0 Class 0401: 1013:6003 (rev 01)
00:07.0 Class 0680: 8086:7110 (rev 02)
00:07.1 Class 0101: 8086:7111 (rev 01)
00:07.2 Class 0c03: 8086:7112 (rev 01)
00:07.3 Class 0680: 8086:7113 (rev 03)
01:00.0 Class 0300: 1002:4c4d (rev 64)
06:00.0 Class 0200: 168c:001a (rev 01)
lsmod:
Module                  Size  Used by
aes_generic            25714  1 
usbhid                 18441  0 
snd_pcm_oss            27891  0 
snd_seq_dummy            911  0 
snd_seq_oss            19037  0 
snd_seq_midi_event      3580  1 snd_seq_oss
snd_seq                33074  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_mixer_oss          10134  1 snd_pcm_oss
arc4                     954  2 
ecb                     1381  2 
fan                     2486  0 
nsc_ircc               10026  0 
video                  14978  0 
output                  1120  1 video
irda                   73281  1 nsc_ircc
crc_ccitt               1015  1 irda
ppdev                   4106  0 
thinkpad_acpi          45130  0 
ac                      2143  0 
hwmon                    957  1 thinkpad_acpi
nvram                   3837  1 thinkpad_acpi
parport_pc             19384  0 
ath5k                 106577  0 
parport                21195  2 ppdev,parport_pc
mac80211              101801  1 ath5k
snd_cs46xx             63600  0 
led_class               1733  2 thinkpad_acpi,ath5k
snd_ac97_codec         76640  1 snd_cs46xx
ac97_bus                 686  1 snd_ac97_codec
ath                     6102  1 ath5k
thermal                 9282  0 
processor              25374  1 
snd_pcm                46465  3 snd_pcm_oss,snd_cs46xx,snd_ac97_codec
cfg80211               92454  3 ath5k,mac80211,ath
snd_timer              11850  2 snd_seq,snd_pcm
snd_page_alloc          4697  2 snd_cs46xx,snd_pcm
snd_rawmidi            11995  1 snd_cs46xx
snd_seq_device          3613  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    31384  11 snd_pcm_oss,snd_seq_oss,snd_seq,snd_mixer_oss,thinkpad_acpi,snd_cs46xx,snd_ac97_codec,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device
soundcore               3419  1 snd
uhci_hcd               15743  0 
gameport                5725  2 snd_cs46xx
ehci_hcd               27209  0 
shpchp                 21252  0 
e100                   22218  0 
pci_hotplug            18276  1 shpchp
mii                     2630  1 e100
usbcore                92997  4 usbhid,uhci_hcd,ehci_hcd
i2c_piix4               6888  0 
i2c_core               11701  1 i2c_piix4
pcspkr                  1179  0 
fbcon                  29109  0 
bitblit                 3674  1 fbcon
softcursor               825  1 bitblit
intel_agp              19089  1 
tileblit                1505  1 fbcon
serio_raw               2940  0 
font                    6932  1 fbcon
agpgart                19112  1 intel_agp
evdev                   5549  6 
sg                     19261  0 
battery                 7232  0 
button                  3546  0 
fuse                   42817  0 
aufs                  110987  1 
nls_iso8859_1           2937  1 
nls_cp437               4465  1 
squashfs               15964  3 
yenta_socket           16291  5 
rsrc_nonstatic          6869  1 yenta_socket
floppy                 40295  0 
ifconfig:
eth1      Link encap:Ethernet  HWaddr 00:10:A4:91:25:C6  
          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)

irda0     Link encap:UNSPEC  HWaddr D2-79-8F-20-00-00-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING NOARP  MTU:2048  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:8 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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

wlan3     Link encap:Ethernet  HWaddr 00:15:E9:73:F7:99  
          inet addr:192.168.254.14  Bcast:192.168.254.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12153 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9663 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14167930 (13.5 MiB)  TX bytes:1128265 (1.0 MiB)

ifconfig -a:
eth1      Link encap:Ethernet  HWaddr 00:10:A4:91:25:C6  
          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)

irda0     Link encap:UNSPEC  HWaddr D2-79-8F-20-00-00-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING NOARP  MTU:2048  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:8 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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

wlan3     Link encap:Ethernet  HWaddr 00:15:E9:73:F7:99  
          inet addr:192.168.254.14  Bcast:192.168.254.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12153 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9663 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14167930 (13.5 MiB)  TX bytes:1128265 (1.0 MiB)

iwconfig:
lo        no wireless extensions.

eth1      no wireless extensions.

irda0     no wireless extensions.

wlan3     IEEE 802.11bg  ESSID:"WIN_0745"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: D8:6C:E9:5F:07:44   
          Bit Rate=11 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=68/70  Signal level=-42 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

resolv.conf:
# Generated by dhcpcd from wlan3, wlan0
# /etc/resolv.conf.head can replace this line
search Home Belkin
nameserver 192.168.254.254
nameserver 192.168.2.1
# /etc/resolv.conf.tail can replace this line
route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.254.0   0.0.0.0         255.255.255.0   U     304    0        0 wlan3
0.0.0.0         192.168.254.254 0.0.0.0         UG    304    0        0 wlan3
ip link show:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:10:a4:91:25:c6 brd ff:ff:ff:ff:ff:ff
3: irda0: <NOARP,UP,LOWER_UP> mtu 2048 qdisc pfifo_fast qlen 8
    link/irda d2:79:8f:20 brd ff:ff:ff:ff
4: wlan3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:15:e9:73:f7:99 brd ff:ff:ff:ff:ff:ff
inxi -Fxz:
System:    Host: Mariner Kernel: 2.6.33.2 i686 (32 bit, gcc: 4.3.4) Desktop: JWM sn-498 Distro: Slackware 13.1.0
Machine:   System: IBM (portable) product: 2628ESU
           Mobo: IBM model: 2628ESU Bios: IBM version: KXET36WW (1.09 ) date: 05/08/2003
CPU:       Single core Pentium III (Coppermine) (-UP-) cache: 256 KB flags: (pae sse) bmips: 1394.77 clocked at 697.385 MHz 
Graphics:  Card: Failed to Detect Video Card! X-Vendor: N/A driver: N/A tty size: 80x24 Advanced Data: N/A for root 
Audio:     Card-1: Sound Fusion CS46xx driver: CS46xx Sound: ALSA ver: 1.0.21
           Card-2: ThinkPad Console Audio Control driver: ThinkPad EC 
Network:   Card: Failed to Detect Network Card! 
Drives:    HDD Total Size: 3.3GB (72.6% used) 1: id: /dev/sda model: IBM size: 3.3GB 
           2: id: /dev/sdb model: Hitachi_CV_7.1.1 size: 0.0GB 
Partition: ID: swap-1 size: 0.75GB used: 0.02GB (3%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 67.0C mobo: 47.0C 
           Fan Speeds (in rpm): cpu: 0 
Info:      Processes: 109 Uptime: 45 min Memory: 239.6/376.0MB Runlevel: 5 Gcc sys: N/A Client: Shell (sh) inxi: 1.9.17
Since inxi failed to detect wireless card. Puppy and inxi script have some comaptibility issues because of puppy file locations and structure. The chip is a atheros on the Dlink and uses the Ath5k module.

Anyhows, this is what inxi should have spit out from when I ran this card on another install at another time.

Code: Select all

Card-2 Atheros AR2413 802.11bg NIC driver ath_pci v: svn
Just posting for supplying info. Happy Trails, Rok
Attachments
Dlink_WNA_1330_pcmcia_IBM_A22M.jpg
changed wireless to wlan3
(50.43 KiB) Downloaded 403 times

borgward
Posts: 31
Joined: Thu 19 Jan 2006, 01:31
Location: Austin, Texas

#19 Post by borgward »

Might try Frisbee, but it does look complicated to do. Hope retro precise gets fixed so the next guy doe's not have to go thru the same mess.

I went to a used computer parts place to get a bigger HDD and more RAM. They asked how big a drive I had. It was an old 6GB drive that I had retroprecise installed on. The guy could not believe I had anything installed on only 6GB. I gave him a demo. Said he had a lot of 10 GB drives, and would try installing puppy on one. Hope he does not try to run wireless. I bought a 40GB drive and 1GB RAM.

This D600 originally had XP PRO on a 40 GB HDD and 512 MB RAM. Ran pretty good as well. It had been set up by the Cornell University tech staff. The guy must have known some tricks.

borgward
Posts: 31
Joined: Thu 19 Jan 2006, 01:31
Location: Austin, Texas

#20 Post by borgward »

I reinstalled retroprecise 5.4.3. Went thru the Internet Connection Wizard. If I select the Autoconnect profile, the only security option is WEP. I can not select open. In my situation, I want open.

I then have to edit and create a profile so that I can operate open.

I think that because I can not run Autoconnect is the reason why I have to reconfigure wireless every time I reboot the D600.

Post Reply