Solved

how to refresh PPP adsl connection ?

Posted on 2004-09-24
5
431 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Range of IP address for whitelist 8 83
Internet Speed Test 5 101
Router Upgrade 11 63
I do not have access to router. public wifi question 2 89
This solves the problem of diagnosing why an internet connection is no longer working. It also helps identify the likely cause of the lost connection if the procedure fails to re-establish your internet connection. It helps to pinpoint the likely co…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now