LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2004, 11:22 PM   #1
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
Verizon DSL really sucks


yeah... this whole weekend it has been kicking me offline every hour or so. This is no problem when I'm home, i just rerun dhclient and it reconnects... but when I'm gone it is a problem because my box can be offline...

so I'm trying to write the verizon sucks daemon, but it doesn't work right. I ping google every ten seconds and if i don't get a response after a certain # of pings, i run dhclient. i run ping and dhclient through the popen() call ... the google part works fine but I don't know if this is the best thing to do since I'm not really piping anything.

My question is: is there a better way to call an external program?
 
Old 09-08-2004, 07:42 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Probably the 'exec' family.
 
Old 09-08-2004, 11:44 AM   #3
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
system() is easiest, just don't use it if your thing is suid/sgid.
 
Old 09-08-2004, 11:56 AM   #4
dmcmillan
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Distribution: Gentoo, Ubuntu
Posts: 6

Rep: Reputation: 0
Verizon LoL

I actually know how their network runs. It's a secure feature that had to be added in, because of ip spoofing spammers. It's annoying I know. The only way inexpensively I know to get around the rapid ip refresh is to setup an actual router to manage DHCP. I run a belkin wireless and it's great. Runs really good with every distro I've tried. I actively use Mandrake, but I've also used everything from Red Hat 9 to Slackware, and Debian on it. I even tried out some more obscure distros like Peanut, and a few others all of them picked up the connection with out a hitch.

You pick up a decent no nonsense router anymore for $40 or less. Either that or if you have some old hardware kicking around that you don't mind leaving running all the time. Put on a "router" distro on it and run it as your router, but you might pay more in hydro throughout the year than you're saving by not buying the router.

It's an annoying situation I know, but that's the joys of dynamic ip, and a world full of idiots who want to sell us crap we don't want or need. Go figure

Anyways we all feel your pain. One sneaky way of getting it to work without have to make a new program might be just through dhclient into cron and schedule it to run every so many hours. I know VOL refreshes ip at least after 30 mins of non activity and within 8 hours regardless.

God Bless
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Verizon DSL and SuSE 9.0 marktin Linux - Networking 9 02-26-2009 06:41 PM
Verizon DSL AlleyTrotter Slackware 6 11-01-2005 10:59 AM
verizon dsl problem grcunningham Linux - Software 4 05-31-2004 03:48 PM
help me with my verizon DSL? kayiman74 Linux - General 3 01-12-2003 11:26 PM
Verizon DSL Skidde Linux - General 4 12-30-2002 02:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration