Click to See Complete Forum and Search --> : connecting to the internet from the command line w/o X?
ClearNinja
02-14-2001, 09:51 PM
I need to connect my Debian box to the internet from the command line so I can use apt-get. I tried doing a search but Im not coming up with anything. I configured wvdial to dial to my isp and it takes my password and username and it says starting pppd and nothing happens after that so I think its connecting so how do i go from this point to apt-getting? and how would I get lynx in on this? Thanks in Advance.
Craig
ClearNinja
02-14-2001, 11:20 PM
bump ^
GNU/br0wni3
02-14-2001, 11:48 PM
Um. im a complete newbie.. but i do know you can use wmdial for that. dunno, maybe "man wmdial" ? or , try to search for a NHF on this site for that matter..
just my 2 cents.
:D
ifred
02-15-2001, 12:46 AM
I'm not too familiar with Debian but once you are connected I believe you type something like: #apt-get install <package name> eg. #apt-get install xmms.
There are other commands you use to upgrade the entire system using apt-get, www.debian.org (http://www.debian.org) should probably have more on this. You should be able to open lynx by typing $lynx if configuration is necessary try lynx --help. Again, I cannot claim to be anything close to knowledgable on this but you can give these suggestions a try.
ClearNinja
02-15-2001, 12:51 AM
well i think im square as far as using apt-get. But when it comes to connecting to the internet from the command line is where my knowledge gets really dim..I start wvdial
#wvdial
it starts doing its thing and I think it connects to my isp,but the starting connection with pppd message doesnt go away. But it never did with my redhat install either and that was in X. So i think Im connected to the internet even though i dont get my command prompt back, or Im not even sure If i should get my command line back. But then I alt f2 to another terminal and I log in and try to ping www.google.com (http://www.google.com) and it doesnt work and I cant find anything to tell me what to do or expect so I havent got the foggiest... :confused:
But I still like debian better than redhat...lol.. :D
Thanks,
Craig
X_console
02-15-2001, 02:28 AM
wvdial &
Then type:
tail -f /var/log/messages
See what's going on in the background.
Craig McPherson
02-15-2001, 03:43 AM
Run pppconfig to enter the Debian ppp configuration tool. Create a connection, name it "provider"
Once that's done, you can bring your PPP connection up with the "pon" command, and shut it off with the "poff" command.
ClearNinja
02-15-2001, 01:29 PM
Thanks a lot guys!!...That was exactly what I needed Im actually posting from lynx right now.
Thanks Again..
Craig
cage47
02-15-2001, 03:05 PM
Don't forget plog to check the status of your connection. How does Lynx work? I'm looking to apt-get X for my debian install. What speed modem are you using?
ClearNinja
02-15-2001, 05:22 PM
I just used a 56k modem connected at 45,333 to update my distro to unstable. Took like 4 hours, but what do you do when you dont have broadband :( but after I reconfigured pppconfig to just call my isp to provider I just ran pon and it connected and then I ran lynx and surfed with lynx until I finished downloading. :)
digital_spawn
02-15-2001, 08:36 PM
TRY THIS LINK - EZNET (http://www.hwaci.com/sw/eznet/)
FyberOptyx
02-15-2001, 10:56 PM
Check out the ISP hookup HOWTO