Solved

how to refresh PPP adsl connection ?

Posted on 2004-09-24
5
460 Views
Last Modified: 2013-12-14
Hello Folks,
I am running a adsl connection, with usb modem. WinXP, no service pack.

I keep losing my connection. Typically, I can connect to the network ok. Then a few minutes later I can not ping the DNS server, or the Default Gateway. The message is either 'no reply', or 'unreachable'. I am looking for some way to refresh the connection.

If I type 'ipconfig /release',
it says..
that operation not allowed, as this adapter (or was is 'connection') is not configured for dhcp.

When I type 'ipconfig /all' the ip stuff is listed as a 'PPP adapter'. If I go to Contol panel -> Network connections -> Dial up -> 'myConnection' -> Networking -> TCP/IP -> properties
I can see 'Obtain IP address automatically' is checked.

When this happens, I can fix this by...
1- clicking on the Windows 'remove hardware' button in the system tray to stop the modem.
2- Windows detects the modem again, and re-starts the modem. This connects to the nework, at some low level. That is to say, no ip address is assigned yet, maybe this is just raw ATM or PPP, whatever that is.
3- On windows Contol panel -> Network connections double-click 'myConnection' to dial-in again. At this point I can ping DNS again. For a few minutes anyway, before I lose it!

I need to leave the machine running for long periods. So I seek some way to do that from the command line, so I can put in in a script. Something like an equivalent of ipconfig release/renew which works for me. Or better still, prevent the connection-loss !

thanks in advance,
JM
 
0
Comment
Question by:jmarmelstein
5 Comments
 
LVL 40

Accepted Solution

by:
Fatal_Exception earned 200 total points
ID: 12150117
A recommendation here.  If it were me, I would purchase a consumer grade router and let it do the authentication for you.  This way, you get two benefits:

1.  It becomes an always on situation.  It is responsible for keeping the connection up and running, and if the connection drops, then it re-authenticates to your ISP.  

2.  It provides a NAT device that insulates you from the outside world.  Because it is using NAT to translate and route packets from the outside to the inside LAN, you computer cannot be 'seen' from outside your LAN.  You can also purchase a router with an SPI firewall, which adds that extra, and valuable layer that you need.  

I recommend Linksys products for consumer grade appliances, and Netgear for those that want a little more out of their routers, such as a good SPI firewall.

FE
0
 
LVL 31

Assisted Solution

by:rid
rid earned 150 total points
ID: 12155849
Generally, greater stability is achieved with ethernet-based connections. I'd like to add that as a comment to the good suggestions above. USB is not a very good choice for networking stuff.
/RID
0
 

Assisted Solution

by:cklatsky
cklatsky earned 150 total points
ID: 12223119
When you say the connection is lost after a while, is data traffic active on the line right up to the moment the connection is lost?  If not, what may be happening is your ISP has some sort of idle timeout set where if does not detect any "real" data activity (aside from PPP LCP keepalives), then it disconnects the session.  If you suspect this to be the case, you can try leaving a continuous ping running from a batch file with "ping www.cisco.com -t".  This will keep "real" data moving an preventing an inactivity based disconnect.

Another thing to try is to see if the dialup connection can be set to dial if the line is dropped.  From Network Connections, right click 'myConnection"' and select properties.  Then go to the options tab and see if you can check "Re-dial if line is droped".  Also check to see if there is an idle connection timeout defined for your connection (same tab, should say idle time before hanging up, set it to "never")

-CK
0
 

Author Comment

by:jmarmelstein
ID: 12224305
Folks,
Thanks for the suggestions. I'm actually about to move apartment, so have given up !

idle session: good thinking bu no, there was continuous traffic. The radio from Ireland, in fact.
I hear a lot of complaints about the usb adapter/model I was using, so I'll be trying the network-card one next.
thanks anyway!

(now attempting to split the points...)
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 12226108
Absolutely..  always go for a traditional modem with a true ethernet RJ45 LAN jack....  

Good luck with the move, and thanks..

FE
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Cable Modem Provisioning from DPoE compliant server  This Article is to support CMTS administrators to provide an overview of DOCSIS compliance configuration file, and to provision a cable modem located at customer place from a Back office serve…
Sometimes you have to pull out old tricks to get a new firewall to work… While we were installing a new Sonicwall at a customers site we found that sites they were able to visit before were not working.  It seemed random and we could not understa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question