PDA

View Full Version : Disconnecting


tli
08-11-2003, 08:27 PM
To disconnect, I use adsl-stop. This basically just kills the pppoe process.

However, when I try to reconnect, I can not. However, after a couple of mins I can.

Does anyone else have this problem?

sticky_chicken
09-11-2003, 09:02 AM
To disconnect, I use adsl-stop. This basically just kills the pppoe process.

However, when I try to reconnect, I can not. However, after a couple of mins I can.

Does anyone else have this problem?


Not from memory.

What does your /var/log/messages file show?

tli
09-11-2003, 02:55 PM
hmmm...

what happens is that when I run adsl-stop, and then adsl-start straight after, it takes a while to connect, but it does connect.

However, if i run adsl-stop, and then adsl-start a couple of mins later, it will connect very quickly - it says ". . Connected!".

sticky_chicken
09-11-2003, 04:45 PM
hmmm...

what happens is that when I run adsl-stop, and then adsl-start straight after, it takes a while to connect, but it does connect.

However, if i run adsl-stop, and then adsl-start a couple of mins later, it will connect very quickly - it says ". . Connected!".


Ok. You should check out your /var/log/messages file.

My session has been up for a while now, so I had to dig through past logs, but here's an example:

Oct 18 03:43:54 sporran adsl-connect: ADSL connection lost; attempting re-connection.
Oct 18 03:43:59 sporran pppd[22771]: pppd 2.4.1 started by root, uid 0
Oct 18 03:43:59 sporran pppd[22771]: Using interface ppp0
Oct 18 03:43:59 sporran pppd[22771]: Connect: ppp0 <--> /dev/pts/1
Oct 18 03:43:59 sporran pppoe[22772]: PPP session is 3647
Oct 18 03:43:59 sporran /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 18 03:44:32 sporran pppd[22771]: LCP terminated by peer
Oct 18 03:44:32 sporran pppoe[22772]: Session 3647 terminated -- received PADT from peer
Oct 18 03:44:32 sporran pppoe[22772]: Sent PADT


As you can see, there is relevant information in /var/log/messages, and I think that looking at your /var/log/messages file is going to provide you with some clues as to what's happening.

isko
11-11-2003, 09:04 PM
Something about a 'mac' address?

AM not even sure what that means but when i connected a different gateway PC to my cable connection, somewhat similar problem as tli described happens. The solution i found at google was to turn off the modem for a few minutes till the memory completely fades out.

Just a guess.:)

dysgust
26-11-2003, 02:54 PM
You would be talking about flushing an ARP table. A mac address is only used in ethernet and virtual ethernet connections. It's the hardware address of an ethernet device.

Basically all machines on a local network (or LAN) use ARP (address resolution protocol) to resolve IP addresses to hardware addresses, and then use those hardware addresses to communicate at a lower level than IP.

Using ADSL, this looses all relevance once packets are routed beyond a local network. In the case of cable, you are connected to a virtual ethernet, and it uses MAC addresses to talk to your ISP's router.

ADSL is a lot different, in the fact that you are using IP when it leaves your PPP interface. This should not effect an ADSL user.

Yes, I was bored..

Dys