FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-10-2008, 05:40 PM
Rosalind Mitchell
 
Default Trouble with WiFi/Broadband

Since last November I have been operating my computer wirelessly, using
an eTec ADSL router in my bedroom where the phone input is, and a Belkin
wireless adapter attached to my computer in my work room. Before going
wireless I was using a Linksys ADSL2 wired adapter and working in the
bedroom. This wasn't very satisfactory, and that's why I went wireless.
This arrangement has been working fine until a week ago.

Last Monday I got up, switched on the computer, and there was no broadband,
apparently, although all the lights were showing on both the router and the
adapter. I checked all the connections but the broadband stayed resolutely
off. Until 4.30 in the afternoon when it came on again, quietly, as if
nothing had happened. I breathed a sigh of relief and got on with life.
That night I switched off the computer as usual.

On Tuesday I got up, switched on the computer, and... No broadband. I
cursed and found other things to get on with, almost relieved that a big
distraction had been taken away (but then I realised how amazingly hard it
is to do lots of techie stuff without online documentation.). At
around 4.30 in the afternoon it came on again. Aha, I thought, this ties in
with the working day and no doubt there's some works going on around here
with the cabling.

That night I left the computer running, with the idea of determining at what
time the broadband went off. So, on Wednesday morning I got up, checked
the computer, and... everything was fine. On Wednesday night I left the
computer running again and on Thursday everything was hunky-dory again. So
on Thursday night, mindful of my responsibilities to the planet, I switched
off before going to bed

On Friday morning I got up, switched on the computer and... No broadband. I
found other things to do. 4.30 came and went and nothing happened. So I
began to panic, until at 5.00 it quietly came onstream again. On Friday
night I left the computer switched on again and then, last night, thinking
there was no working day to worry about, I switched off.

This morning I got up, switched on, and... no broadband. As it was Sunday
I decided to disconnect everything, give the box a thorough de-dusting, and
fire it up again. No broadband. So I disconnected the Belkin adapter and
the eTec router, wheeled the computer through to my bedroom on its trolley,
dug out the Linksys wired router and hooked it up. Yay! Broadband working
fine! So, I disconnected the Linksys, reconnected the eTec and the Belkin,
and... nothing.

Because it's Sunday, the local works on the cabling theory is wrong. The
connection came back at about 5.30, which was just about the time that it was
starting to get dark here after a bright, cloudless, sunny day, and I began
to think that last Monday and Tuesday were pretty murky, rainy days, and
Friday was bright but not particularly sunny, so on each occasion the service
came back just about the time it was starting to get dark. It seems, then,
to be related to light conditions and/or weather conditions. But, it wasn't
doing this at all until a week ago, and at this rate, come June at this
latitude I won't get any work done. What else might it be, do you think?
Sunspots?

Can anybody throw any light on what is going on here? I really don't want to
move my workstation back into my bedroom if I can help it.

Rosie
--
Currently Reading McEWAN, IAN: Amsterdam
The Book of Enitharmon: http://swanofkennet.livejournal.com
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 06:10 PM
steve
 
Default Trouble with WiFi/Broadband

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rosalind Mitchell wrote:
| Since last November I have been operating my computer wirelessly, using
| an eTec ADSL router in my bedroom where the phone input is, and a Belkin
| wireless adapter attached to my computer in my work room. Before going
| wireless I was using a Linksys ADSL2 wired adapter and working in the
| bedroom. This wasn't very satisfactory, and that's why I went wireless.
| This arrangement has been working fine until a week ago.

<snip>

you sure someone playing games didnt get into your router web config and
put rules about what times you can access the net?

can you ping your router?

can you ping anything on the net?


also when you have NO internet what happens when you do

sudo ifdown eth0

sudo ifup eth0





- --
Steve Reilly

http://reillyblog.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHr0wI1L48K811Km0RAv/DAKDa7XIvpxIHdhY7mKkvK+PCgv1J7ACgpDto
qzJW6WxmCyzhGqFQu/8c3Vs=
=rEzE
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-10-2008, 06:28 PM
Peter Garrett
 
Default Trouble with WiFi/Broadband

On Sun, 10 Feb 2008 18:40:11 +0000
Rosalind Mitchell <rcm@swimbarrow.co.uk> wrote:

> Since last November I have been operating my computer wirelessly, using
> an eTec ADSL router in my bedroom where the phone input is, and a Belkin
> wireless adapter attached to my computer in my work room. Before going
> wireless I was using a Linksys ADSL2 wired adapter and working in the
> bedroom. This wasn't very satisfactory, and that's why I went wireless.
> This arrangement has been working fine until a week ago.

Have you changed anything relating to wireless or networking? Perhaps
installed something? Alternatively, perhaps there has been an update to
some program - have a look at the History in Synaptic.

System -> Administration -> Synaptic Package Manager

File -> History

[snips]

> That night I left the computer running, with the idea of determining at what
> time the broadband went off. So, on Wednesday morning I got up, checked
> the computer, and... everything was fine. On Wednesday night I left the
> computer running again and on Thursday everything was hunky-dory again.
> This morning I got up, switched on, and... no broadband. As it was Sunday
> I decided to disconnect everything, give the box a thorough de-dusting, and
> fire it up again. No broadband. So I disconnected the Belkin adapter and
> the eTec router, wheeled the computer through to my bedroom on its trolley,
> dug out the Linksys wired router and hooked it up. Yay! Broadband working
> fine! So, I disconnected the Linksys, reconnected the eTec and the Belkin,
> and... nothing.

So, it sounds like the wired interface ( probably eth0 ) is getting an IP
address, and perhaps the wireless interface is not. Also, notice that when
you leave the system running *after* the 'Magic Hour' it continues to
work the following day, which suggests that whatever process runs at 4:30
or 5:30 etc. "fixes" it, but that from a cold start that process ( whatever
it might be), does not run until late afternoon.

What happens if you run

iwlist scan ?

That should show information about your wireless interface, including Mac
address, ESSID, etc.

Compare also the result of

ifconfig

when the wireless is working/ not working.

[snip]
> It seems, then,
> to be related to light conditions and/or weather conditions. But, it wasn't
> doing this at all until a week ago, and at this rate, come June at this
> latitude I won't get any work done.

This is not very likely Much more likely is that there is a process
that runs at around that time each day, and has the result of "waking up"
your wireless interface. Probably a "cron" job, but this is a guess,
really.

> What else might it be, do you think?
> Sunspots?

Cosmic rays! Must be it! (When you hear hoof beats, do you have a tendency
to think of zebras? <grin> )
>
> Can anybody throw any light on what is going on here? I really don't want to
> move my workstation back into my bedroom if I can help it.

Another suggestion: when the wireless is "down", what happens if you issue

sudo dhclient ?

That should attempt to connect whatever interfaces you have, by requesting
an address from your router/ wireless access point. If the connection
returns when you do that command, at least we have more to go on. You
presumably have two interfaces ( wired/ wireless ). Issuing the command as
I gave it above will fail for one, and try the other. A more specific way
is to give the interface name - what your wireless interface is called
depends on your card. For example, here mine is eth1, but yours could be
ath1 or something else. I don't know what a Belkin card uses...

Another question: are you using the Network Manager ? I 'm thinking that
you use KDE, since you are using Kmail ? If you are using the network
manager, is there an icon in your "system tray" for it? Have you tried
turning it off/on when the wireless fails?

Peter

--
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 07:59 AM
Rosalind Mitchell
 
Default Trouble with WiFi/Broadband

Thanks for all suggestions so far. I'm following them up.

Meanwhile, here's an extract from the syslog at about the time the broadband
link fired up yesterday. Does this help?

Rosie

Feb 10 17:26:43 ID-307228 dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Will activate
connection 'eth0'.
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Device eth0 activation
scheduled...
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) started...
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 1 of
5 (Device Prepare) scheduled...
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 1 of
5 (Device Prepare) started...
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) scheduled...
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 1 of
5 (Device Prepare) complete.
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) starting...
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) successful.
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 3 of
5 (IP Configure Start) scheduled.
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 2 of
5 (Device Configure) complete.
Feb 10 17:26:43 ID-307228 NetworkManager: <info> Activation (eth0) Stage 3 of
5 (IP Configure Start) started...
Feb 10 17:26:44 ID-307228 NetworkManager: <info> Activation (eth0) Beginning
DHCP transaction.
Feb 10 17:26:44 ID-307228 NetworkManager: <info> Activation (eth0) Stage 3 of
5 (IP Configure Start) complete.
Feb 10 17:26:44 ID-307228 NetworkManager: <info> DHCP daemon state is now 12
(successfully started) for interface eth0
Feb 10 17:26:45 ID-307228 NetworkManager: <info> DHCP daemon state is now 1
(starting) for interface eth0
Feb 10 17:26:45 ID-307228 kernel: [ 53.925572] NET: Registered protocol
family 17
Feb 10 17:26:46 ID-307228 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 4
Feb 10 17:26:46 ID-307228 dhclient: DHCPOFFER from 192.168.1.1
Feb 10 17:26:46 ID-307228 dhclient: DHCPREQUEST on eth0 to 255.255.255.255
port 67
Feb 10 17:26:46 ID-307228 dhclient: DHCPACK from 192.168.1.1
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Joining mDNS multicast group on
interface eth0.IPv4 with address 192.168.1.3.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: New relevant interface eth0.IPv4
for mDNS.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Registering new address record
for 192.168.1.3 on eth0.IPv4.
Feb 10 17:26:46 ID-307228 NetworkManager: <info> DHCP daemon state is now 2
(bound) for interface eth0
Feb 10 17:26:46 ID-307228 NetworkManager: <info> Activation (eth0) Stage 4 of
5 (IP Configure Get) scheduled...
Feb 10 17:26:46 ID-307228 NetworkManager: <info> Activation (eth0) Stage 4 of
5 (IP Configure Get) started...
Feb 10 17:26:46 ID-307228 dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.domain_name
Feb 10 17:26:46 ID-307228 dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_domain
Feb 10 17:26:46 ID-307228 dhcdbd: message_handler: message handler not found
under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
Feb 10 17:26:46 ID-307228 NetworkManager: <info> Retrieved the following IP4
configuration from the DHCP daemon:
Feb 10 17:26:46 ID-307228 NetworkManager: <info> address 192.168.1.3
Feb 10 17:26:46 ID-307228 NetworkManager: <info> netmask 255.255.255.0
Feb 10 17:26:46 ID-307228 NetworkManager: <info> broadcast 192.168.1.255
Feb 10 17:26:46 ID-307228 NetworkManager: <info> gateway 192.168.1.1
Feb 10 17:26:46 ID-307228 NetworkManager: <info> nameserver 192.168.1.1
Feb 10 17:26:46 ID-307228 NetworkManager: <info> hostname 'Valhalla'
Feb 10 17:26:46 ID-307228 NetworkManager: <info> Activation (eth0) Stage 5 of
5 (IP Configure Commit) scheduled...
Feb 10 17:26:46 ID-307228 NetworkManager: <info> Activation (eth0) Stage 4 of
5 (IP Configure Get) complete.
Feb 10 17:26:46 ID-307228 NetworkManager: <info> Activation (eth0) Stage 5 of
5 (IP Configure Commit) started...
Feb 10 17:26:46 ID-307228 dhclient: bound to 192.168.1.3 -- renewal in 1454
seconds.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Withdrawing address record for
192.168.1.3 on eth0.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Leaving mDNS multicast group on
interface eth0.IPv4 with address 192.168.1.3.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Interface eth0.IPv4 no longer
relevant for mDNS.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Joining mDNS multicast group on
interface eth0.IPv4 with address 192.168.1.3.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: New relevant interface eth0.IPv4
for mDNS.
Feb 10 17:26:46 ID-307228 avahi-daemon[6667]: Registering new address record
for 192.168.1.3 on eth0.IPv4.
Feb 10 17:26:47 ID-307228 NetworkManager: <info> Clearing nscd hosts cache.
Feb 10 17:26:47 ID-307228 NetworkManager: <WARN> nm_spawn_process():
nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed
to execute child process "/usr/sbin/nscd" (No such file or directory))
Feb 10 17:26:47 ID-307228 NetworkManager: <info> Activation (eth0) Finish
handler scheduled.
Feb 10 17:26:47 ID-307228 NetworkManager: <info> Activation (eth0) Stage 5 of
5 (IP Configure Commit) complete.
Feb 10 17:26:47 ID-307228 NetworkManager: <info> Activation (eth0)
successful, device activated.
Feb 10 17:26:47 ID-307228 kernel: [ 55.504838] NET: Registered protocol
family 10
Feb 10 17:26:47 ID-307228 kernel: [ 55.504922] lo: Disabled Privacy
Extensions
Feb 10 17:26:48 ID-307228 avahi-daemon[6667]: Registering new address record
for fe80::219:dbff:fec2:b5f5 on eth0.*.
Feb 10 17:26:57 ID-307228 kernel: [ 65.415506] hda-intel: Invalid position
buffer, using LPIB read method instead.
Feb 10 17:26:57 ID-307228 kernel: [ 66.030511] eth0: no IPv6 routers present
Feb 10 17:27:04 ID-307228 ntpdate[7004]: can't find host ntp.ubuntu.com
Feb 10 17:27:04 ID-307228 ntpdate[7004]: no servers can be used, exiting
Feb 10 17:27:05 ID-307228 NetworkManager: <info> Updating allowed wireless
network lists.
Feb 10 17:27:05 ID-307228 NetworkManager: <WARN> nm_dbus_get_networks_cb():
error received: org.freedesktop.NetworkManagerInfo.NoNetworks -
org.freedesktop.NetworkManagerInfo.NoNetworks.
Feb 10 17:27:42 ID-307228 fetchmail[6846]: awakened at Sun 10 Feb 2008
05:27:42 PM GMT
Feb 10 17:27:43 ID-307228 fetchmail[6846]: 106 messages (1 seen) for
mailbox.southwalneyinfo@fsbbroadband.com at pop3.fsbbroadband.com (763183
octets).
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 05:41 PM
Derek Broughton
 
Default Trouble with WiFi/Broadband

Peter Garrett wrote:

> So, it sounds like the wired interface ( probably eth0 ) is getting an IP
> address, and perhaps the wireless interface is not. Also, notice that when
> you leave the system running *after* the 'Magic Hour' it continues to
> work the following day, which suggests that whatever process runs at 4:30
> or 5:30 etc. "fixes" it, but that from a cold start that process (
> whatever it might be), does not run until late afternoon.

>> It seems, then,
>> to be related to light conditions and/or weather conditions. But, it
>> wasn't doing this at all until a week ago, and at this rate, come June at
>> this latitude I won't get any work done.
>
> This is not very likely Much more likely is that there is a process
> that runs at around that time each day, and has the result of "waking up"
> your wireless interface. Probably a "cron" job, but this is a guess,
> really.

Two things come to mind - one the DHCP server (presumably on either - or
both - the wireless router and the broadband modem) won't serve up a new
address between certain hours (most likely because it really isn't running)
or the wireless router has been configured to block certain actions at
certain times of day. Most wireless routers can do something like that, so
it's where I'd want to look first. It could be blocking broadcast
packets - which are needed for DHCP - or specifically blocking your wifi
card (or all except a certain wifi card) from using specific ports.

Normally, there would be a DHCP server on the router and the modem, and you
could just turn off the one on the router to make sure the addresses are
served by the modem (in that case, the modem and router should share the
same subnet, eg, 192.168.0.x)
>
> Another suggestion: when the wireless is "down", what happens if you issue
>
> sudo dhclient ?

replacing ? with the name of your interface :-)
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 05:48 PM
Derek Broughton
 
Default Trouble with WiFi/Broadband

Rosalind Mitchell wrote:

> Thanks for all suggestions so far. I'm following them up.
>
> Meanwhile, here's an extract from the syslog at about the time the
> broadband
> link fired up yesterday. Does this help?

yes and no :-(

That's exactly what it should look like, but what happens when you turn on
the system and _don't_ get an IP address?

(and kudos to you for remembering your obligations to the planet :-) )
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 06:15 PM
Peter Garrett
 
Default Trouble with WiFi/Broadband

On Mon, 11 Feb 2008 14:41:58 -0400
Derek Broughton <news@pointerstop.ca> wrote:

[snips]

Peter Garrett wrote:

> > Another suggestion: when the wireless is "down", what happens if you issue
> >
> > sudo dhclient ?
>
> replacing ? with the name of your interface :-)

Actually, as I mentioned, but you snipped, if you issue "sudo dhclient"
without the name of an interface it simply fails on one and tries another
- for example, here if I have no cable plugged in, it fails for eth0 then
succeeds for eth1 ( wireless).

(Peter Garrett wrote)
<quote>
Issuing the command as
I gave it above will fail for one, and try the other. A more specific way
is to give the interface name - what your wireless interface is called
depends on your card.
</quote>

I tested this before writing my email Works for Me (tm) ;p

Peter

--
"INX Is Not X" Live CD based on Ubuntu 7.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-11-2008, 07:59 PM
Derek Broughton
 
Default Trouble with WiFi/Broadband

Peter Garrett wrote:

> On Mon, 11 Feb 2008 14:41:58 -0400
> Derek Broughton <news@pointerstop.ca> wrote:
>
> [snips]
>
> Peter Garrett wrote:
>
>> > Another suggestion: when the wireless is "down", what happens if you
>> > issue
>> >
>> > sudo dhclient ?
>>
>> replacing ? with the name of your interface :-)
>
> Actually, as I mentioned, but you snipped, if you issue "sudo dhclient"

Yeah, I saw that - but the "dhclient ?" syntax looked potentially confusing.

--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org