Re: [SLUG] Laptop problem

2003-01-19 Thread Dave Airlie
On 20 Jan 2003, Alan L Tyree wrote:
> I'm having trouble with a laptop ethernet hookup. When the machine
> boots, it fails to see eth0 but then it seems to configure it later.
>

what distribution are you using, I know on my laptop,MDK 8.1 used to bring
up eth0 before it existed and then pcmcia would bring it up when it
spotted the card, but used to send packets before the link was negotiated
with the switch and I still ended up doing it by hand ..

Dave.


 > Unfortunately, it doesnt' then do the right DHCP thing. If
I >
> # ifconfig eth0 down
> # ifconfig eth0 up
> # dhclient
>
> Then it connects to the network the way that it should. Any suggestions?
> Any other information that would be helpful?
>
> Thanks,
> Alan
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
pam_smb / Linux DecStation / Linux VAX / ILUG person


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-19 Thread Alan L Tyree
On Mon, 2003-01-20 at 14:01, Dave Airlie wrote:
> >
> 
> what distribution are you using, I know on my laptop,MDK 8.1 used to bring
> up eth0 before it existed and then pcmcia would bring it up when it
> spotted the card, but used to send packets before the link was negotiated
> with the switch and I still ended up doing it by hand ..

RH8 - and it does sound like the same problem. During boot it reports
"failed" when it tries to bring up the eth0; pcmcia starts later and
eth0 is up when I first log in - just not with a network IP address.

I'm using this machine for my wife's email, so I really need the thing
to start properly.

> 
> Dave.
> 
> 
>  > Unfortunately, it doesnt' then do the right DHCP thing. If
> I >
> > # ifconfig eth0 down
> > # ifconfig eth0 up
> > # dhclient
> >
> > Then it connects to the network the way that it should. Any suggestions?
> > Any other information that would be helpful?
> >
> > Thanks,
> > Alan
> >
> 
> -- 
> David Airlie, Software Engineer
> http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
> pam_smb / Linux DecStation / Linux VAX / ILUG person
> 
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 
-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-19 Thread James Gregory
On Sun, 2003-01-19 at 21:57, Alan L Tyree wrote:
> I'm having trouble with a laptop ethernet hookup. When the machine
> boots, it fails to see eth0 but then it seems to configure it later.

I haven't played much with it, but my laptop purports to have recently
installed a thing called ifplugd which detects when I plug in an
ethernet cable and runs dhcpd when I do. It's all ready to go in the
initscripts package currently in mandrake cooker.

Anyway, it might be a solution - ifplugd would probe the device, which
would get the module loaded (assuming your modules.conf is configured
and so forth) and once it figured out it was plugged into something it
would set up the interface with dhcp.

HTH

James.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-19 Thread Alan L Tyree
On Tue, 2003-01-21 at 06:27, James Gregory wrote:
> On Sun, 2003-01-19 at 21:57, Alan L Tyree wrote:
> > I'm having trouble with a laptop ethernet hookup. When the machine
> > boots, it fails to see eth0 but then it seems to configure it later.

Sounds like it is worth a look - many thanks,

> 
> I haven't played much with it, but my laptop purports to have recently
> installed a thing called ifplugd which detects when I plug in an
> ethernet cable and runs dhcpd when I do. It's all ready to go in the
> initscripts package currently in mandrake cooker.
> 
> Anyway, it might be a solution - ifplugd would probe the device, which
> would get the module loaded (assuming your modules.conf is configured
> and so forth) and once it figured out it was plugged into something it
> would set up the interface with dhcp.
> 
> HTH
> 
> James.
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 
-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-19 Thread Alan L Tyree
On Tue, 2003-01-21 at 06:27, James Gregory wrote:
> On Sun, 2003-01-19 at 21:57, Alan L Tyree wrote:
> > I'm having trouble with a laptop ethernet hookup. When the machine
> > boots, it fails to see eth0 but then it seems to configure it later.

I think I have fixed this. In the startup directories (/etc/rc.d/rc5.d/
in my case) the original files were:

S10network
S24pcmcia

I changed S24 to S07 so that the pcmcia stuff is executed before the
network stuff.

Seems to work.

Cheers,
Alan

> 
-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-20 Thread Ken Foskey
On Tue, 2003-01-21 at 08:12, Alan L Tyree wrote:
> On Mon, 2003-01-20 at 20:13, Ken Foskey wrote:
> > On Mon, 2003-01-20 at 16:51, Alan L Tyree wrote:
> > > On Tue, 2003-01-21 at 06:27, James Gregory wrote:
> > > > On Sun, 2003-01-19 at 21:57, Alan L Tyree wrote:
> > > > > I'm having trouble with a laptop ethernet hookup. When the machine
> > > > > boots, it fails to see eth0 but then it seems to configure it later.
> > > 
> > > I think I have fixed this. In the startup directories (/etc/rc.d/rc5.d/
> > > in my case) the original files were:
> > > 
> > > S10network
> > > S24pcmcia
> > > 
> > > I changed S24 to S07 so that the pcmcia stuff is executed before the
> > > network stuff.
> > > 
> > 
> > What distro & release is this?  Have you raised a bug report.
> > This is ugly.
> 
> RH8 on a Compaq Armada. It has been a very frustrating experience. I
> have never done bug reports - is this the kind of thing that should be
> reported?

This is definitely something to be reported.

http://bugzilla.redhat.com/bugzilla/

I did a very quick search and turned up nothing on this.

If we don't report these bug they never get fixed.  Think about the
other people trying to work this out,  with you bugzilla explaining the
work around this is five minutes work.

-- 
Thanks
KenF
OpenOffice.org developer

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-20 Thread Alan L Tyree
On Tue, 2003-01-21 at 08:38, Ken Foskey wrote:

ARRR! Bloody thing didn't work on boot this morning!

I changed it back to the original, shut the machine down. Restart:
during boot it reports that the eth0 config has failed, but when I log
in it is OK. I give up. Back to a nice simple dos machine, no networks,
no nothing except getting some work done!

Just kidding. But it is frustrating.

Any ideas gratefully received.

Alan


> > > > I think I have fixed this. In the startup directories (/etc/rc.d/rc5.d/
> > > > in my case) the original files were:
> > > > 
> > > > S10network
> > > > S24pcmcia
> > > > 
> > > > I changed S24 to S07 so that the pcmcia stuff is executed before the
> > > > network stuff.
> > > > 
> > > 
> > > What distro & release is this?  Have you raised a bug report.
> > > This is ugly.
> > 
> > RH8 on a Compaq Armada. It has been a very frustrating experience. I
> > have never done bug reports - is this the kind of thing that should be
> > reported?
> 
> This is definitely something to be reported.
> 
> http://bugzilla.redhat.com/bugzilla/
> 
> I did a very quick search and turned up nothing on this.
> 
> If we don't report these bug they never get fixed.  Think about the
> other people trying to work this out,  with you bugzilla explaining the
> work around this is five minutes work.
> 
> -- 
> Thanks
> KenF
> OpenOffice.org developer
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 
-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-21 Thread James Gregory
On Mon, 2003-01-20 at 16:59, Alan L Tyree wrote:
> On Tue, 2003-01-21 at 08:38, Ken Foskey wrote:
> 
> ARRR! Bloody thing didn't work on boot this morning!
> 
> I changed it back to the original, shut the machine down. Restart:
> during boot it reports that the eth0 config has failed, but when I log
> in it is OK. I give up. Back to a nice simple dos machine, no networks,
> no nothing except getting some work done!

is it possible that it reordered your changes? changing boot order is
supposed to be done by editing the scripts in question -- there is a
comment at the top which a program called chkconfig or something reads.
There should be a skel file lying around with the meanings of each of
the numbers. After you edit it you need to run chkconfig again to tell
it about the changes (you need to specify some flags).

Don't know if that's the problem or not, but it is the "right" way to do
it so probably worth chasing up.

was there anything listed in the logs about failed pcmcia startup or
something?

If you want a cheap, quick hack, you could put the appropriate lines to
get your pcmcia stuff running in the network startup script. Try
everything else first though - that's gotta break something else :)

HTH

James.


> 
> Just kidding. But it is frustrating.
> 
> Any ideas gratefully received.
> 
> Alan
> 
> 
> > > > > I think I have fixed this. In the startup directories (/etc/rc.d/rc5.d/
> > > > > in my case) the original files were:
> > > > > 
> > > > > S10network
> > > > > S24pcmcia
> > > > > 
> > > > > I changed S24 to S07 so that the pcmcia stuff is executed before the
> > > > > network stuff.
> > > > > 
> > > > 
> > > > What distro & release is this?  Have you raised a bug report.
> > > > This is ugly.
> > > 
> > > RH8 on a Compaq Armada. It has been a very frustrating experience. I
> > > have never done bug reports - is this the kind of thing that should be
> > > reported?
> > 
> > This is definitely something to be reported.
> > 
> > http://bugzilla.redhat.com/bugzilla/
> > 
> > I did a very quick search and turned up nothing on this.
> > 
> > If we don't report these bug they never get fixed.  Think about the
> > other people trying to work this out,  with you bugzilla explaining the
> > work around this is five minutes work.
> > 
> > -- 
> > Thanks
> > KenF
> > OpenOffice.org developer
> > 
> > -- 
> > SLUG - Sydney Linux User's Group - http://slug.org.au/
> > More Info: http://lists.slug.org.au/listinfo/slug
> > 
> -- 
> --
> Alan L Tyree  [EMAIL PROTECTED]
> http://www.law.usyd.edu.au/~alant
> Tel: +61 2 4782 2670
> Mobile: +61 405 084 990
> Fax: +61 2 4782 7092
> 
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-21 Thread Alan L Tyree
> 
> is it possible that it reordered your changes? changing boot order is
> supposed to be done by editing the scripts in question -- there is a
> comment at the top which a program called chkconfig or something reads.
> There should be a skel file lying around with the meanings of each of
> the numbers. After you edit it you need to run chkconfig again to tell
> it about the changes (you need to specify some flags).

I was following the advice given in some Redhat documentation on the
order in which things get started:
http://www.redhat.com/support/resources/tips/Boot-Process-Tips

> Don't know if that's the problem or not, but it is the "right" way to do
> it so probably worth chasing up.
> 
> was there anything listed in the logs about failed pcmcia startup or
> something?

Just the failed eth0 initialisation, saying that it would come back to
it later. The annoying (and difficult) problem is that usually it does
seem to get started, but about 20% of the time it doesn't happen. I
haven't been able to find anything in the logs that distinguishes
between a good start and a bad one.

> 
> If you want a cheap, quick hack, you could put the appropriate lines to
> get your pcmcia stuff running in the network startup script. Try
> everything else first though - that's gotta break something else :)

Worst hack of all seems to work. In rc.local I put in

ifconfig eth0 down
ifconfig eth0 up
dhclient &

Awful, I guess, but it does seem to work.

Thanks to everyone on this, and please keep me in mind if you run across
any answers.

Cheers,
Alan

> 
-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-21 Thread Dave Airlie
> Just the failed eth0 initialisation, saying that it would come back to
> it later. The annoying (and difficult) problem is that usually it does
> seem to get started, but about 20% of the time it doesn't happen. I
> haven't been able to find anything in the logs that distinguishes
> between a good start and a bad one.

not sure if you can fix it .. it sounds to me like the card is sending the
dhcp request before the link negoitation has been done .. try maybe
putting a sleep 1 before the dhclient line in the script see if it makes
any difference.. I remember having issues with switches which used
spanning tree and took ages to put you on the network ..

Dave.
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
pam_smb / Linux DecStation / Linux VAX / ILUG person


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2003-01-21 Thread Alan L Tyree
On Wed, 2003-01-22 at 09:14, Dave Airlie wrote:
> > Just the failed eth0 initialisation, saying that it would come back to
> > it later. The annoying (and difficult) problem is that usually it does
> > seem to get started, but about 20% of the time it doesn't happen. I
> > haven't been able to find anything in the logs that distinguishes
> > between a good start and a bad one.
> 
> not sure if you can fix it .. it sounds to me like the card is sending the
> dhcp request before the link negoitation has been done .. try maybe
> putting a sleep 1 before the dhclient line in the script see if it makes
> any difference.. I remember having issues with switches which used
> spanning tree and took ages to put you on the network ..

Thanks Dave - I'll give the "sleep" suggestion a try.

> 
> Dave.
> >
> 
> -- 
> David Airlie, Software Engineer
> http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
> pam_smb / Linux DecStation / Linux VAX / ILUG person
> 
> 
> 
-- 
--
Alan L Tyree[EMAIL PROTECTED]
http://www.law.usyd.edu.au/~alant
Tel: +61 2 4782 2670
Mobile: +61 405 084 990
Fax: +61 2 4782 7092

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Laptop problem

2005-11-04 Thread Ben Donohue

Hi Bill,
I'll presume your talking about a laptop here.
Sometimes the internal capacitors can overfill (for want of a better 
term), due to overcharging..

what you can do is remove the power cable and remove the battery.
then hold down the ON button for 1-2 minutes (or longer).
this drains the capacitors and it may boot again.

Another trick is to remove the battery and see if it boots just off the 
power. this however is a long shot as usually laptops (if it is a 
laptop) detect/need the battery installed to boot.
There is a further trick of attaching a small torch light via a couple 
of wires to the battery to drain the battery. this is if the battery is 
overcharged. I haven't done this but I know someone who has.

Ben


Bill wrote:

Have had my BenQ A32e-V01 for 3 weeks. Suddenly it wont boot - The 
battery charging light says battery is fully charged and the AC light 
shows that it is receiving power from the wall-socket, and the 
power-pack led is lit.


I don't even get the Manufacturers logo on-screen so it appears that 
the bios is not even booting, though every now and again it does boot 
and run - had it up and in use for 2+ hours this afternoon - 
immediately after phoning support :(


Should the laptop boot:-
(1) if the battery is stuffed but still connected to the power-pack 
which is turned on?
(2) if the power-pack is turned on and plugged into the laptop with 
the battery removed?


Phoned BenQ tech support with the usual result of "bring it in for a 
look".


XP Home is installed ( not used), and I have installed Kanotix 2004-04 
RC12 which has been running well for nearly 3 weeks.


Have "googled" and it seems that with many laptops the battery is 
controlled by XP utilities. Kanotix also shows battery charge condition.


Any enlightenment appreciated.

Sorry that this is off topic, but nowhere els to go for advice.




--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Laptop problem

2005-11-04 Thread Michael Fox
On 11/4/05, Bill <[EMAIL PROTECTED]> wrote:
> Have had my BenQ A32e-V01 for 3 weeks.

It's new with warranty? If so then take it back to supplier/purchaser
and have them check if everything else fails.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html