LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2012, 06:46 AM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;GO MAGEIA!!!Hopefully last destination is Gentoo
Posts: 915

Rep: Reputation: 52
Troubleshoot wvdial . Terminal Procedures and Scrolling through Terminal Lines


Too many problems that are related for more than one thread so here it goes.

1- I had wvdial working in GUI/x org and when I try it in Console Mode Lynx returns message "Can Not Connect to Remote Host". Yum returns "ran out of mirrors to try" immediately. What are the most common commands to run and logs to look at to troubleshoot this?

2-How do I scroll back after running a command that returns a long message that is longer than a page in Console Mode? Do I pipe it to a file?

3- If I'm executing more than one command in BASH in Console Mode ,I just press ctrl> z to suspend it , then bg to restart it in the background and then run the next command? Is this correct?

Thanks in advance!
 
Old 01-21-2012, 09:39 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,063

Rep: Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104
1. ifconfig, ping, cat /etc/resolv.conf, route each with their man page

2. In a tty console, shift & pg_up. In an xterm console, scroll wheel or whatever. Alternatively just add |less to your command which pipes it to a viewer, and you can page up and down.

3. Never done it that way, but does it work?
I would use

this & that

to start them both simultaneously. Back in the dialup days, I would log in as root, and run
wvdial & exit

You would hear the modem but the terminal exited, leaving my miniature hackers wondering. They're not miniature any more, btw.

this && that runs them in sucession as does this; that
 
1 members found this post helpful.
Old 01-25-2012, 09:13 PM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
@OP. Did you ever get your internet connection going? I have been using Linux with dial up for 9 years now so I'm kinda familiar with it. Be aware different ISPs are gonna react differently, though. But you did say you had it working before with wvdial.
I gave up on wvdial very early on and deleted it. I just use the ppp and chat programs with some config files in the right places. As I recall it took quite a bit to get it going back then but ever since when I want to upgrade my OS I just copy the related config files that I keep backed up on other HD drives and I'm up and going with internet pretty quick. So if you want copies of my /etc/ppp/ files that pertain to this let me know and maybe I can help.
 
1 members found this post helpful.
Old 01-26-2012, 01:08 AM   #4
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;GO MAGEIA!!!Hopefully last destination is Gentoo
Posts: 915

Original Poster
Rep: Reputation: 52
Thanks for the Replies!

I was working with a CentOS installation that basically went to hell in a hand basket. X Stopped working so I wanted to see if more updates would get me out of the mess ;which I believe it would , but networking also was effected.
X -configure gives a solid list of errors after lines of errors, EE can't locate Modules ,drivers , Symbol Mismatches etcetera.I actually think wvdial was working but the problem was upstream of it. The general networking tools are not meant to help with the condition that this install is left with. According to my external modem everything was fine but Lynx (could not connect to remote host) and yum (pycurl error 6 out of mirrors to try). I don't know that much about netstat but it listed some vitals.I might go back in and get a netstat file out.

I'm studying networking anyways and have a strong interest in old school computing knowledge. I would like to learn how to write a chat script and otherwise gain as much ppp knowledge as possible. It's tough to get indepth info on ppp and I would like to have it to pass it on.


If you could turn me on to some effective search phrases or links on how to write chat scripts and other general ppp/pppd information I would appreciate it.

Thanks!



These are ifconfig and netstat command returns for this O.S


Ifconfig modem on
Quote:
eth0 Link encap:Ethernet HWaddr 20:CF:30:AB:7B:45
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:28 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8369 (8.1 KiB) TX bytes:8369 (8.1 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:64.24.178.155 P-t-P:64.24.144.4 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:136 (136.0 b) TX bytes:142 (142.0 b)

virbr0 Link encap:Ethernet HWaddr 76:A2:59:E8:EE:B2
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:3765 (3.6 KiB)
ifconfig modem off
Quote:
eth0 Link encap:Ethernet HWaddr 20:CF:30:AB:7B:45
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:28 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8369 (8.1 KiB) TX bytes:8369 (8.1 KiB)

virbr0 Link encap:Ethernet HWaddr 76:A2:59:E8:EE:B2
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:3765 (3.6 KiB)
netstat modem on
Quote:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 8598 @/org/kernel/udev/udevd
unix 2 [ ] DGRAM 12979 @/org/freedesktop/hal/udev_event
unix 21 [ ] DGRAM 11952 /dev/log
unix 2 [ ] DGRAM 15585
unix 3 [ ] STREAM CONNECTED 15583
unix 3 [ ] STREAM CONNECTED 15582
unix 2 [ ] DGRAM 15541
unix 3 [ ] STREAM CONNECTED 15521 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 15520
unix 3 [ ] STREAM CONNECTED 15356 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 15355
unix 3 [ ] STREAM CONNECTED 15330 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 15329
unix 3 [ ] STREAM CONNECTED 15316 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 15315
unix 3 [ ] STREAM CONNECTED 15251 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 15250
unix 2 [ ] DGRAM 15064
unix 3 [ ] STREAM CONNECTED 14771 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 14770
unix 2 [ ] DGRAM 14769
unix 2 [ ] DGRAM 14235
unix 2 [ ] DGRAM 14156
unix 2 [ ] DGRAM 14100
unix 3 [ ] STREAM CONNECTED 14065 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 14064
unix 2 [ ] DGRAM 14057
unix 2 [ ] DGRAM 14023
unix 2 [ ] DGRAM 14022
unix 3 [ ] STREAM CONNECTED 14019
unix 3 [ ] STREAM CONNECTED 14018
unix 3 [ ] STREAM CONNECTED 14015
unix 3 [ ] STREAM CONNECTED 14014
unix 3 [ ] STREAM CONNECTED 14011
unix 3 [ ] STREAM CONNECTED 14010
unix 3 [ ] STREAM CONNECTED 14007
unix 3 [ ] STREAM CONNECTED 14006
unix 3 [ ] STREAM CONNECTED 14003
unix 3 [ ] STREAM CONNECTED 14002
unix 3 [ ] STREAM CONNECTED 13999
unix 3 [ ] STREAM CONNECTED 13998
unix 3 [ ] STREAM CONNECTED 13995
unix 3 [ ] STREAM CONNECTED 13994
unix 3 [ ] STREAM CONNECTED 13991
unix 3 [ ] STREAM CONNECTED 13990
unix 3 [ ] STREAM CONNECTED 13987
unix 3 [ ] STREAM CONNECTED 13986
unix 3 [ ] STREAM CONNECTED 13983
unix 3 [ ] STREAM CONNECTED 13982
unix 3 [ ] STREAM CONNECTED 13979
unix 3 [ ] STREAM CONNECTED 13978
unix 3 [ ] STREAM CONNECTED 13975
unix 3 [ ] STREAM CONNECTED 13974
unix 3 [ ] STREAM CONNECTED 13971
unix 3 [ ] STREAM CONNECTED 13970
unix 3 [ ] STREAM CONNECTED 13967
unix 3 [ ] STREAM CONNECTED 13966
unix 3 [ ] STREAM CONNECTED 13963
unix 3 [ ] STREAM CONNECTED 13962
unix 3 [ ] STREAM CONNECTED 13959
unix 3 [ ] STREAM CONNECTED 13958
unix 3 [ ] STREAM CONNECTED 13955
unix 3 [ ] STREAM CONNECTED 13954
unix 3 [ ] STREAM CONNECTED 13951
unix 3 [ ] STREAM CONNECTED 13950
unix 3 [ ] STREAM CONNECTED 13947
unix 3 [ ] STREAM CONNECTED 13946
unix 3 [ ] STREAM CONNECTED 13943
unix 3 [ ] STREAM CONNECTED 13942
unix 3 [ ] STREAM CONNECTED 13939
unix 3 [ ] STREAM CONNECTED 13938
unix 3 [ ] STREAM CONNECTED 13936
unix 3 [ ] STREAM CONNECTED 13935
unix 3 [ ] STREAM CONNECTED 13932
unix 3 [ ] STREAM CONNECTED 13931
unix 3 [ ] STREAM CONNECTED 13929
unix 3 [ ] STREAM CONNECTED 13928
unix 2 [ ] DGRAM 13848
unix 2 [ ] DGRAM 13694
unix 2 [ ] DGRAM 13597
unix 3 [ ] STREAM CONNECTED 13548 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 13547
unix 2 [ ] DGRAM 13519
unix 3 [ ] STREAM CONNECTED 13461 @/var/run/hald/dbus-VzWqNEKFVi
unix 3 [ ] STREAM CONNECTED 13460
unix 3 [ ] STREAM CONNECTED 13458 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 13457
unix 3 [ ] STREAM CONNECTED 13369 /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 13368
unix 3 [ ] STREAM CONNECTED 13363 @/var/run/hald/dbus-VzWqNEKFVi
unix 3 [ ] STREAM CONNECTED 13362
unix 3 [ ] STREAM CONNECTED 13352 @/var/run/hald/dbus-VzWqNEKFVi
unix 3 [ ] STREAM CONNECTED 13351
unix 3 [ ] STREAM CONNECTED 13349 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 13348
unix 3 [ ] STREAM CONNECTED 13260 @/var/run/hald/dbus-VzWqNEKFVi
unix 3 [ ] STREAM CONNECTED 13259
unix 3 [ ] STREAM CONNECTED 12974 @/var/run/hald/dbus-HzhgWN1dtO
unix 3 [ ] STREAM CONNECTED 12973
unix 3 [ ] STREAM CONNECTED 12952 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12951
unix 2 [ ] DGRAM 12916
unix 3 [ ] STREAM CONNECTED 12774
unix 3 [ ] STREAM CONNECTED 12773
unix 3 [ ] STREAM CONNECTED 12560 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12559
unix 2 [ ] DGRAM 12431
unix 3 [ ] STREAM CONNECTED 12329 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12328
unix 3 [ ] STREAM CONNECTED 12323
unix 3 [ ] STREAM CONNECTED 12322
unix 2 [ ] DGRAM 12320
unix 3 [ ] STREAM CONNECTED 12286 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12285
unix 2 [ ] DGRAM 12283
unix 3 [ ] STREAM CONNECTED 12267 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12266
unix 3 [ ] STREAM CONNECTED 12261 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12257
unix 2 [ ] DGRAM 12252
unix 3 [ ] STREAM CONNECTED 12228 /var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 12227
unix 3 [ ] STREAM CONNECTED 12221
unix 3 [ ] STREAM CONNECTED 12220
unix 3 [ ] DGRAM 8626
unix 3 [ ] DGRAM 8625
Thanks for viewing this thread!

Last edited by theKbStockpiler; 01-26-2012 at 01:43 AM.
 
Old 01-26-2012, 12:34 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,063

Rep: Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104
If an Irishman may tell an Irish joke. . .
To quote the Irishman, when asked for directions to another town: "You know, if I was you, I wouldn't start from here at all."

Sort out Centos - rebuild the db and/or reinstall. I would jump to the reinstall as I hate rpm. Then you might be ready for the pppd howto. You can skip to about section 10 - he will past biographies of everyone ever connected with networking. As an absolute last resort, he turned to the subject :-/.
 
1 members found this post helpful.
Old 01-26-2012, 08:09 PM   #6
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;GO MAGEIA!!!Hopefully last destination is Gentoo
Posts: 915

Original Poster
Rep: Reputation: 52
Thanks for the Reply!

I just installed Scientific over it so I guess I'll have to see if I have the same problem with Scientific. I'll definitely keep a corrupted Rpm Data Base issue in mind. Thanks for that suggestion. It was corrupted because it would state both that I had a Package installed and also that I did not.

Any tips or info on Chat Script witting?
 
Old 01-27-2012, 09:50 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,063

Rep: Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104Reputation: 1104
Plenty of scripts around. By section 15 he's actually on to that stuff. Chat scripts are like Morse code - useful in the past tense. Their chief function was to automate slow serial login stuff. You can usually do without, by providing meaningful options to pppd, for instance.
 
1 members found this post helpful.
Old 01-27-2012, 06:44 PM   #8
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;GO MAGEIA!!!Hopefully last destination is Gentoo
Posts: 915

Original Poster
Rep: Reputation: 52
I miss read your previous Post.

I thought you stated ('A" pppd How To) and not ('The ppd How To). Thanks for your expertise!

Last edited by theKbStockpiler; 01-27-2012 at 06:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Is there a way to stop command output to continue scrolling down the terminal uriha Linux - General 4 01-06-2011 02:38 AM
scrolling in terminal using vim, less, and more deuberger Linux - Software 2 09-30-2010 10:16 AM
New lines in gnome-terminal overlapping old lines instead of scrolling crontab Linux - Software 2 04-17-2009 10:08 AM
scrolling / pageup in terminal briemac Linux - General 4 01-17-2007 04:26 PM
Scrolling command line terminal FlashAsh99 Linux - Newbie 3 06-27-2005 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration