Network Config Needs Fixing

Please post any bugs you have found
Message
Author
SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

Network Config Needs Fixing

#1 Post by SimpleWater »

I created a similar topic on the beginners section and did not get it resolved so i am going to alert as a bug.

The Network setup wizard will not automatically connect through wifi upon boot no matter how many times you save, and it disconnects you as well.

The simple Network setup will remember your setup and connect you on boot but like network setup wizard it disconnects you randomly.

This is really annoying because it happens very frequently and should be handled immediately by the developers, thank you for reading
Last edited by SimpleWater on Thu 21 Apr 2011, 03:43, edited 1 time in total.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#2 Post by tempestuous »

Yes, there is a bug, but you have incorrectly defined it as "wifi support".
The fault relates to network configuration, and it's most likely due to an old (or bad) version of dhcpcd contained in the Puppy 5.x series.

Competent puplet developers such as jemimah have upgraded their versions of dhcpcd.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

What are your computer specs?
What version of Puppy?
How are you running Puppy?

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#4 Post by SimpleWater »

Oh that is good to hear! How do i go about upgrading dhcpcd like the jemimah fellow?

Bigpup, this machine has never had any problems with wifi connectivity on windows vista, so i seem to not understand how that will help. But it you must know, here it is:

sys-model: HP Pavilion dv6500 Notebook PC
sys-type: X86-based PC
Processor: AMD Athlon 64 X2 Dual-core processor TK-55, 1800 MHz, 2 Core(s)
BIOS: Hewlett-Packard F.07, 8/9/2007
RAM: 1.00 GB
Video: NVIDIA GeForce 7150 / nForce 630M
Storage Size: 149.05 GB

Latest version of puppy: LUPU-525

Full install on internal hard drive>decicated partition>ext 3 format>10 GB


Edit: i apologize tempoutous for not using more correct terminology

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#5 Post by tempestuous »

SimpleWater wrote:How do i go about upgrading dhcpcd like the jemimah fellow?
Well I will do a forum search now to find jemimah's improved dhcpcd ....
... but in the meantime, maybe you could please edit the title of your post to something like
"Network config needs fixing"
or
"dhcpcd needs fixing"

because the current title is incorrect and misleading.


And by the way, jemimah is a she.

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#6 Post by SimpleWater »

tempestuous wrote:Well I will do a forum search now to find jemimah's improved dhcpcd ....
... but in the meantime, maybe you could please edit the title of your post to something like
"Network config needs fixing"
or
"dhcpcd needs fixing"

because the current title is incorrect and misleading.


And by the way, jemimah is a she.
Fixed title. Thank you for your efforts :)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »

Bigpup, this machine has never had any problems with wifi connectivity on windows vista, so i seem to not understand how that will help. But it you must know, here it is:
This is not Windows.
Puppy does not come with every possible driver or is supported by manufactures .
Sometimes people do not run Puppy the way it is designed. A lot of things could cause your problem. Having as much info as possible makes it much easier to help.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#8 Post by tempestuous »

OK, here is where you will find jemimah's dhcpcd-5.2.9-i486.pet -
http://murga-linux.com/puppy/viewtopic.php?t=64472
... but it was compiled for Fluppy, not Puppy 5.x, and it's in a location not expected by Puppy 5.x.

UPDATE April 26 2011
I have just repackaged jemimah's improved version of dhcpcd for Puppy 5.1/5.2, available here -
http://www.murga-linux.com/puppy/viewto ... 997#448997
Last edited by tempestuous on Tue 26 Apr 2011, 04:17, edited 1 time in total.

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#9 Post by SimpleWater »

before i download dhcpcd-5.2.9-i486.pet, should i be discarding dhcpcd in /usr/local/sbin and also dhcpcd and dhcprelay in /usr/sbin/?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#10 Post by tempestuous »

SimpleWater wrote:should i be discarding dhcpcd in /usr/local/sbin
It doesn't matter; in Puppy 5.1/5.2 /usr/local/sbin/dhcpcd is just a symbolic link to /usr/sbin/dhcpcd
and the dotpet will overwrite it, anyway.

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#11 Post by SimpleWater »

After I install the package it says to run it from
network on the menu. Was I supposed to download frisbee?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#12 Post by tempestuous »

No, you don't need Frisbee, you only need the dhcpcd component.

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#13 Post by SimpleWater »

that didn't exactly work. I let my computer idle for a moment and it disconnected when i returned. Any more ideas?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#14 Post by tempestuous »

First make sure that Puppy is actually using the newly installed dhcpcd, with this command

Code: Select all

dhcpcd --version
You should see this -

Code: Select all

dhcpcd 5.2.9
Copyright (c) 2006-2010 Roy Marples
It appears that you have 2 problems:
i)your network configuration is not set up at each boot up.
The upgraded dhcpcd should have fixed this.

ii) your wifi connection randomly disconnects.
I don't know why this is happening, but it sounds as though your wifi driver is at fault. Now would be a good time to tell us what wifi driver is being used - it's listed in the Network Wizard.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#15 Post by bigpup »

I let my computer idle for a moment and it disconnected when i returned. Any more ideas?
Some people have to use Stay connected to internet program to keep a connection from disconnecting.
In Lucid Puppy 5.25
menu->internet->Stay Connected to Internet

What this program does is ping the connection, so that it is being accessed, and not idle for long periods. Seems some hardware needs this to keep connection.
Probably something built into hardware, that drops connection, after set period of no activity.

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#16 Post by SimpleWater »

well its official this puppy doesn't like me. It went as far as not letting me connect anymore. I am using current version and here is what you asked for: Broadcom b43 wireless driver

bigpup yes i did as you said but no i can longer connect on any wizard. I was able to connect to internet connection wizard but now it will not detect my dns. I think you were right about compatibility issues with hardware. What distro do you recommend for my hardware? I was thinking xubuntu if its as fast as puppy.

If i can fix my old pc i might give puppy a try, to see if it makes a difference connected by ethernet

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#17 Post by bigpup »

Before you give up on Puppy Linux.
Start fresh and go here to download the Frisbee Network Manager package.
http://www.diddywahdiddy.net/LupuNews/index4.html
After installing this Frisbee package, try connecting using Frisbee Network Manager.

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#18 Post by SimpleWater »

xubuntu does a fine job with connectivity but i deleted it to try puppy once again like you said. So i started puppy with a fresh install used internet connection wizard(without a saved file) to download frisbee and also remembered to overwrite old dhcpcd with the frisbee one and...nothing :?

Frisbee is very peculiar. It's icon in the tray is blinking green like there is connection going on, and on status report, it tells me i'm connected. Oh yeah, on boot the icon does not look active until i run frisbee. I can give you the status report which is on the network tab, can you decipher it?

lo no wireless extensions

eth0 no wireless extensions

wlan0 IEE 802.11bg ESSID:@HomeC4E0
Mode:Managed Frequency:2.437 Ghz Access Point: 00:21:29:EE:C4:EO
Bit Rate=1 Mb/s Tx-Power=20 dpm
Retry long limit:7 Rts thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=65/70 Signal level=-45 dpm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx exessive retries:0 Invalid misc:0 Missed beacon:0

Used current version from here: http://murga-linux.com/puppy/viewtopic.php?t=64472
Frisbee-beta-2.pet
dhcpcd-5.2.9-i486.pet
wpa_supplicant-0.6.9-i486.4X.pet
xpupsay-1.2.1-i486.pet

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#19 Post by tempestuous »

SimpleWater wrote:I am using current version and here is what you asked for: Broadcom b43 wireless driver
Ah, after 16 posts we learn what wifi driver is being used!
OK, let's start afresh:
the opensource b43 wifi driver is somewhat unreliable, especially with wifi devices found in Dell/HP laptops.
For these you need the proprietary Broadcom wifi driver. See here -
http://murga-linux.com/puppy/viewtopic. ... 596#421596

SimpleWater
Posts: 94
Joined: Tue 19 Apr 2011, 11:53

#20 Post by SimpleWater »

Works quite nicely 8) I have been testing it out for hours and no connection drop. However internet connection wizard does not auto-boot, frisbee is the same, and simple connection wizard cannot connect to eth1 for some encryption reasons. So i used a script from one poster here http://www.murga-linux.com/puppy/viewtopic.php?t=22469 and modified to my settings here:

#!/bin/sh
Broadcom 802.11b/g WLAN
sleep 5s
ifconfig eth1 up
sleep 10s
iwconfig eth1 essid @HomeC4E0
iwconfig eth1 key off
iwconfig eth1 mode managed
rm /etc/dhcpc/*.pid
dhcpcd -t 30 -h Joel -d eth1
ifconfig
iwconfig

So i was wondering if this can be executed on startup to auto-boot, without me clicking on the file

Post Reply