LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2014, 04:59 PM   #1
MattJ812
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Rep: Reputation: Disabled
Can't connect to wireless - Puppy Linux


Hey guys,

I've been using puppy for a while because my hard drive crashed. The wireless connection had been working fine until today.

Earlier I was experimenting with the video recorder and it locked up on me so I hit the kill option to close it. I also deleted all the files I had created with the recorder from the root directory.

So I'm thinking either the kill has done something odd or I have deleted something I need.

Here is the log file from the connection wizard.

Code:
Information about this interface:
 Interface: wlan0  Driver: ath9k  Bus: x  MacAddress: 2C:D0:5A:0D:88:27
 Description: x 
 
STEP1a: ifconfig wlan0 up
STEP1b: iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:1D:D3:72:64:B0
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-36 dBm  
                    Encryption key:on
                    ESSID:"DG860AB2"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000003ef5bd01f8
                    Extra: Last beacon: 66ms ago
                    IE: Unknown: 00084447383630414232
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A6C0017FFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D1601000400000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05020007127A
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4303000000
                    IE: Unknown: 0706555320010B10
                    IE: Unknown: DD870050F204104A0001101044000102103B000103104700102880288028801880A880001DD37264B010210005415252495310230006544738363247102400065254323836301042000831323334353637381054000800060050F204000110110012415252495320544738363220526F7574657210080002210C103C0001011049000600372A000120
STEP1c: ifconfig wlan0 down
Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
STEP2: iwconfig wlan0 mode managed
STEP3: iwconfig wlan0 channel 1
STEP4: iwconfig wlan0 essid "DG860AB2"
STEP5a: ifconfig wlan0 up
STEP5b: wpa_supplicant -B -Dwext -iwlan0 -c"/etc/simple_network_setup/wpa_supplicant.conf-DG860AB2-2C:D0:5A:0D:88:27"
daemon: No such device

ERROR, TIMEOUT. Have not got an Access Point.
Result of 'iwconfig wlan0':
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          

Running: wpa_cli -i wlan0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
 
*********************************************************
LAST 10 LINES of /var/log/messages:
Jul 27 17:40:19 puppypc5600 daemon.info dhcpcd[1170]: eth0: removing interface
Jul 27 17:40:19 puppypc5600 daemon.info dhcpcd[12733]: waiting for pid 1170 to exit
Jul 27 17:40:44 puppypc5600 daemon.err dhcpcd[13925]: dhcpcd not running
Jul 28 08:40:44 puppypc5600 user.debug kernel: [ 1725.098741] tg3 0000:02:00.0: irq 42 for MSI/MSI-X
Jul 28 08:40:44 puppypc5600 user.debug kernel: [ 1725.098765] tg3 0000:02:00.0: irq 43 for MSI/MSI-X
Jul 28 08:40:44 puppypc5600 user.debug kernel: [ 1725.098785] tg3 0000:02:00.0: irq 44 for MSI/MSI-X
Jul 27 17:42:19 puppypc5600 daemon.err dhcpcd[18851]: dhcpcd not running
Jul 28 08:42:19 puppypc5600 user.debug kernel: [ 1819.648175] tg3 0000:02:00.0: irq 42 for MSI/MSI-X
Jul 28 08:42:19 puppypc5600 user.debug kernel: [ 1819.648199] tg3 0000:02:00.0: irq 43 for MSI/MSI-X
Jul 28 08:42:19 puppypc5600 user.debug kernel: [ 1819.648219] tg3 0000:02:00.0: irq 44 for MSI/MSI-X
Thanks.
 
Old 07-28-2014, 09:17 AM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,038

Rep: Reputation: 206Reputation: 206Reputation: 206
Have you tried a wired ethernet connection?
 
Old 07-28-2014, 05:44 PM   #3
MattJ812
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Yes, wired works fine. The wizard detects the wireless and asks for the security key but that's as far as it will go now. I have screwed something up but I don't know what.
 
Old 07-28-2014, 06:07 PM   #4
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , ChromeOS
Posts: 4,960
Blog Entries: 19

Rep: Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172
Is this a frugal or full install? If frugal. Did you boot up into
Code:
puppy pfix=ram
as a pristine boot without a save file and try connecting that way. Usually after a frugal install is setup the way I wish. I make a backup for when a corrupted save file is made because of improper shutdown. I usually make a small storage partition on the same drive for save file backups.

You can try fixing the corrupted save file with the

Quote:
puppy pfix=fsck do filesystem check save (and host partition)
see if it fixes it or not.
 
Old 07-28-2014, 07:44 PM   #5
MattJ812
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
It's a frugal install I suppose if that's what that means, its running off a flash drive.

I tried
Code:
puppy pfix=ram
and it said it couldn't find the .sfs file and went to console.
Code:
puppy pfix=fsck
did apparently nothing.

I deleted my save file and shut down the system, it tried to save the session so i pressed the power button. This time starting up it didn't load the save file and the wireless connection works.

So I guess this is solved in a way. I would like to know what I screwed up and a cleaner way to fix it though.

Thanks.
 
Old 07-28-2014, 08:01 PM   #6
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , ChromeOS
Posts: 4,960
Blog Entries: 19

Rep: Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172Reputation: 2172
You corrupted the initial save file on the usb drive when it froze up and you did a hard shutdown.

Another way I got around fixing this kind of issue was to boot a live cd session and use Gparted to do a check on a usb drive frugal install. Gparted in live session will give you the ability to unmount and do a check of file system to correct any errors on a flash drive install.

But. Water under the bridge now. If you have any other storage media like another pendrive. Back up your personal .sfs and Puppys .sfs
to it and if you corrupt it again. Just copy and paste over the backups during a pfix=ram session (live no saved personal .sfs loaded).

Anyhows. That is what happened and why and how to avoid or fix it.

Edit: PS. The puppy pfix=ram is done at grub boot screen. Not in console in a booted up desktop.
That is why nothing happened. I forgot to mention that.

Last edited by rokytnji; 07-28-2014 at 08:03 PM.
 
Old 07-28-2014, 08:43 PM   #7
MattJ812
LQ Newbie
 
Registered: Feb 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
I did it at the boot screen, I pressed f2 then typed
Code:
puppy pfix=ram
It started to boot but then complained about not being about to find the slacko.sfs file.

I guess it didn't work because of my crashed hard drive? It takes forever to search for puppy files, I assume it's searching through that mess when it doesn't need to. I would like to get it to stop doing that also, it takes like 10 minutes to boot because it hangs at that step for so long.

I ought to just take the drive out.

Thanks again.
 
  


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
puppy linux 5.1.1 cannot connect to the internet arieston Linux - Networking 2 10-10-2010 06:00 AM
Cant connect to the intenet in puppy linux 4.2 dhruva_scd Puppy 14 08-18-2009 01:04 AM
Puppy Linux - Can't connect to internet number2301 Linux - Wireless Networking 2 08-11-2009 03:11 PM
Can't get my wireless to connect - Puppy 3.01 Don1500 Linux - Newbie 4 03-03-2008 08:00 AM


All times are GMT -5. The time now is 08:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration