networking issues

Booting, installing, newbie
Message
Author
rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

networking issues

#1 Post by rkismet »

i did a pupget for firefox...after install and reboot, neither my wired nor wireless connection works.

OS installed on hd

symptoms:
network cards visible
dhcp returns a 169.x.x.x address
it will take a static address but will not browse out (url or ip)
if i use the livecd...the connections work

i'd reinstall, but i dont want to run into the issue if i install firefox again

any ideas?
Last edited by rkismet on Thu 22 May 2008, 03:47, edited 1 time in total.

User avatar
nipper
Posts: 150
Joined: Sat 22 Mar 2008, 16:08

Re: networking issues

#2 Post by nipper »

rkismet,
There is a very good chance that the reason no has tried to answer you yet is because they could use some more information.
rkismet wrote:i did a pupget for firefox...after install and reboot, neither my wired nor wireless connection works.
Because there are so many possibilities, which version of Puppy? Which Firefox pet?
rkismet wrote:OS installed on hd
Just to make sure I understand, a full HD install, not a frugal one? A full install is somewhat different from the other ways of using Puppy but there are some experts here who have full installs and they might recognise a common issue.
rkismet wrote:symptoms:
network cards visible
dhcp returns a 169.x.x.x address
So, no IP address handed out by DHCP. What is supposed to be doing the DHCP, a router? If so, do any other machines receive DHCP correctly from the router?
rkismet wrote:it will take a static address but will not browse out (url or ip)
if i use the livecd...the connections work
Does that mean that you don't have to configure anything when you use the live CD? When doing this testing are you using the bootcode pfix=ram? Is the static address you are trying in the proper subnet for the router (if there is a router)?
rkismet wrote:i'd reinstall, but i dont want to run into the issue if i install firefox again
I'd suggest holding off on a reinstall until you've given a bit more information and maybe someone has an idea. I can't think of a reason why installing a pet of Firefox would cause this to not work, maybe someone else can.

If anything I've asked is obscure, don't hesitate to ask for clarification. You will find this to be a helpful and supportive forum. There are lots of people here all the time to help. Welcome.

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

Re: networking issues

#3 Post by rkismet »

nipper wrote:rkismet,
There is a very good chance that the reason no has tried to answer you yet is because they could use some more information.
rkismet wrote:i did a pupget for firefox...after install and reboot, neither my wired nor wireless connection works.
nipper wrote:Because there are so many possibilities, which version of Puppy? Which Firefox pet?
Puppy4
firefox 4.0.0.2 (for the package manager)
rkismet wrote:OS installed on hd
nipper wrote:Just to make sure I understand, a full HD install, not a frugal one? A full install is somewhat different from the other ways of using Puppy but there are some experts here who have full installs and they might recognise a common issue.
Full install
rkismet wrote:symptoms:
network cards visible
dhcp returns a 169.x.x.x address
nipper wrote:So, no IP address handed out by DHCP. What is supposed to be doing the DHCP, a router? If so, do any other machines receive DHCP correctly from the router?
should be 192.168.1.x class c
all other nodes on the network recieve proper ip and can browse out
rkismet wrote:it will take a static address but will not browse out (url or ip)
if i use the livecd...the connections work
nipper wrote:Does that mean that you don't have to configure anything when you use the live CD?
no configuration needed when using the livecd, dhcp/all defaults works fine.
nipper wrote:When doing this testing are you using the bootcode pfix=ram? Is the static address you are trying in the proper subnet for the router (if there is a router)?
i dont know how to use the boot code for testing on a full hd install
as far as the subnet, gateway, dns, etc...all is correct
router router is the dhcp server.

Though the symptom showed itself after the firefox install im not convienced that it was the cause of the problem either...thats just when it showed itself; i dont think i did anything inbetween when i pulled down and installed the app and when i rebooted the box.

installed on a PIII 700 laptop w/256 mRAM
onboard nic and pcmcia 802.11b nic

Any help or ideas would be greatly aprishiated.

thanks!

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#4 Post by Aitch »

From some obscure blog;

Q: What is the equivalent of "ipconfig /release --> ipconfig /renew" in Linux?
A: From 'man dhclient'

dhclient -r eth0
dhclient eth0


this typed in a console [assuming it's eth0, change if not] should tell the router to re-issue the IP lease

Failing that unplug the power to the router with all network outputs disconnected then after the lights on the router settle, reconnect

you may need to reboot using DHCP in network wizard

If that doesn't work

type ifconfig in a console & see if it's still issuing a 169

repost result

Aitch

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#5 Post by rkismet »

Aitch wrote:From some obscure blog;

Q: What is the equivalent of "ipconfig /release --> ipconfig /renew" in Linux?
A: From 'man dhclient'

dhclient -r eth0
dhclient eth0
dhclient ... command not found....


Ok,
so i got a little frustrated tring to figure this one out. i figured it would only take 30/45 minutes to reinstall and get fresh install back to where it needed to be. i wouldnt learn anything but it seemed to be the easier way out...i've already put quite a few hours into trying to resolve the network issue.

sooo... (below is a 40min step-by-step...i did not deviate from these steps)
i booted from cd (just downloaded the iso yesterday, puppy4)
i blew away the full install
repartationed/formated the drive 9 gb ext3 + 1gb swap
installed full again
the new clean install booted fine
picked up an address after using the network wizard
verified with local router webpage then with yahoo.com
rebooted, all still good
installed firefox from the package manager 4.0.0.2
promptly rebooted
!did not open firefox!
just took a look to see the address from the cli
169.x.x.x again!!!!!!!!

i didnt really think it was the firefox install before...this time i didnt do anything else...

any help or guidence would be much apprishiated
thanks!!

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#6 Post by HairyWill »

ifconfig
will give the active interfaces
ifconfig -a
will give you all interfaces
dhcpcd eth0
will request a dhcp assigned IP for eth0 if it complains that dhcpcd is already running then note the PID process id it gives then do
kill PID
dhcpcd eth0

and
ifconfig
again to check the state of the active interfaces
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#7 Post by Aitch »

Ok try again

console

ifconfig eth0 down
ifconfig eth0 up


should reset it

if not then you have to use the network wizard

& give it your router ip address, which you can find from one of your other PCs
[I think you said 192.168,1.x class c?, therefore make your gateway 192.168.1.1 & your dns server]

also you said you had 2 network interfaces
onboard & pcmcia
Check which i/f its using &
make sure its not using the pcmcia one and then dropping it on reboot for the onboard one

have you tried modprobing or lspci?

Aitch
edit: sorry Will, it happened again, I was editing and didn't get a new post warning

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#8 Post by rkismet »

HairyWill wrote: dhcpcd eth0
will request a dhcp assigned IP for eth0 if it complains that dhcpcd is already running then note the PID process id it gives then do
kill PID
dhcpcd eth0

and
ifconfig
again to check the state of the active interfaces
killed PID
dhcpcd eth0 timed out - gave 169 address again

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#9 Post by rkismet »

Aitch wrote: ifconfig eth0 down
ifconfig eth0 up[/i]

should reset it
came back with 169. address
Aitch wrote: if not then you have to use the network wizard

& give it your router ip address, which you can find from one of your other PCs
[I think you said 192.168,1.x class c?, therefore make your gateway 192.168.1.1 & your dns server]
static did not work either
when clicking on test eth0 in the wizard it say it is "live"
Aitch wrote: also you said you had 2 network interfaces
onboard & pcmcia
removed PCMCIA before install to ease trobleshooting...did not put it back in...just have the onboard one for now.
Aitch wrote: have you tried modprobing or lspci?
i guess this is where i fall short...not sure what either is...

thanks for the help guys!!

User avatar
nipper
Posts: 150
Joined: Sat 22 Mar 2008, 16:08

#10 Post by nipper »

rkismet,
Well the symptoms you describe definitely do look as if on subsequent boots there is no longer a connection between your router and network interface eth0.

Try that command that HarryWill suggested, ifconfig -a and post the results.

Which version of Dingo, the 2.6.21 kernel or the 2.6.25 kernel? If you didn't have a choice it's probably the former.

User avatar
roganty
Posts: 7
Joined: Sat 10 May 2008, 16:36
Location: Bristol, UK
Contact:

#11 Post by roganty »

I'm having the same problem as rkismet, on first boot of puppy 4 I managed to get a network connection, then on subsequent boots nothing!

dhcpcd is returning a 169. address.
In resolv.conf the name server is set as my router ip address, and it was automatically created by dhcpcd!

I'm going to try some of these commands to try and get wireless back up!

User avatar
erikson
Posts: 735
Joined: Wed 27 Feb 2008, 09:22
Location: Ghent, Belgium
Contact:

#12 Post by erikson »

An IP address in the 169.x.x.x range is indicative of a failed dhcp acquisition.

Here are some general (not Puppy-specific) hints:
http://www.pctechbytes.com/computer/article-8.html
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]

User avatar
roganty
Posts: 7
Joined: Sat 10 May 2008, 16:36
Location: Bristol, UK
Contact:

#13 Post by roganty »

I've managed to get it connected again!

What I did was I disabled WEP encryption and unhide the network ssid

Then I used "pwireless wireless scanner" program to connect to the network and it connected and gave me a (correct) ip address

Then I re-enabled WEP (with the same key) connected to the network in the same way and its still connected!

I have also re-hidden the ssid.

Only the next re-boot will tell! lol!

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#14 Post by rkismet »

nipper wrote:rkismet,
Well the symptoms you describe definitely do look as if on subsequent boots there is no longer a connection between your router and network interface eth0.

Try that command that HarryWill suggested, ifconfig -a and post the results.

Which version of Dingo, the 2.6.21 kernel or the 2.6.25 kernel? If you didn't have a choice it's probably the former.
if i use a static address i cant ping out to something local on the network...even if i hosed the gateway and dns, i should be able to ping out or ping it.
while on the latop in question, it can ping itself (w/ lookback and the static address).
i am positive that nothing outside of the laptop is to blame...works before firefox install...still works with the live cd w/ both static and DHCP for both wired and wireless.

not sure where to find the kernel ver... could you let me know where to find or what line i can use in the console?

thanks!!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

# uname -r
2.6.21.7

Or look in /lib/modules, how the kernel-folder is numbered.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#16 Post by rkismet »

ok
so i decided to take a different approch...
i used the livecd (that i dwonloaded and burned 2 nights ago) w/ no config file...
network works fine...
installed firefox 4.0.0.2 using the package manager
saved the session/rebooted
network hosed again....


any thoughs?
thanks!!

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#17 Post by rkismet »

MU wrote:# uname -r
2.6.21.7

Or look in /lib/modules, how the kernel-folder is numbered.
Mark
thanks!!
yes, it is 2.6.21.7

rkismet
Posts: 11
Joined: Tue 20 May 2008, 06:10

#18 Post by rkismet »

anyone else have any thoughts?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#19 Post by rcrsn51 »

I don't know what version of Firefox is numbered 4.0.0.2, but perhaps you should download the current version 2.0.0.14 directly from Mozilla. It comes as a tar.gz which you can extract and save anywhere. The simplest place would be in /root. To run it, just go into the Firefox folder and run the executable from there.

You might also want to delete your Firefox profile in the hidden folder .mozilla in case it is causing a problem. It's the folder with the funny name.

Bruce B

#20 Post by Bruce B »

At first

I thought it was a coincidence.


Then

After strike two, I thought as rcrsn51, get the Firefox from Mozilla.

If that works

Let us know if you don't mind.

Post Reply