Rod,
I am no expert on linux, but will try to help a little until more expert
advice arrives.
Oddly enough ...
(a) I've been to Beijing & know what their phone system was like back then
(in 1988 you could dial the same local Beijing number 3 times
& get 3 different places, maybe a laundry, a restaurant, & a hotel,
but not the airline you actually dialled. It was usually easier
to walk or bus to the airline office, but that's another story)
Hopefully the phones have improved a bit.
(b) I've just configured dialup ppp on RH6.0 this morning, after upgrading
disk drive, so it's still fresh ...
I did these steps ...
During installation, specify own IP addr x.y.z.nnn, netmask 255.255.255.0
Leave default gateway blank, as it will be added dynamically when ppp comes
up,
to point to the ISP connection.
Enter the primary & secondary DNS IP addr of your ISP.
After installation & bootup, login as root,
use "linuxconf" to config a PPP interface (Config/Networking/Clienttasks/PPP).
Use the Add button.
Set hardware flow ctrl (assuming a good modem cable).
If you have high speed serial ports (FIFO UART's) pick a high speed e.g.
57600,
else try 19200 to begin with until its working ok.
Enter ISP phone number.
If the ISP uses PAP, enter username/passwd under PAP secrets,
else if a Login:/Password: style dialog, enter appropriate strings
under the Expect/Send section.
Enable the box "Set default route" which will do a "route add gw xxx" when
the PPP link comes up, & removes the default route when the link is down.
Activate the changes & leave linuxconf.
This creates a ppp interface called "ppp0".
Enter "ifup ppp0" to bring the interface up. The modem should dial &
after some time establish the link.
Then "ifconfig" should show 2 interfaces "lo", "ppp0",
instead of just "lo". (plus "eth0" if you have an ethernet card).
"netstat -nr" should then show the default gateway addr as matching
the endpoint of the ppp0 interface.
If you get that far, then
"ping x.y.z.q" specifying the end point of the ppp0 interface.
If that works, try pinging the IP addr of the ISP's DNS servers.
If that works, try pinging a hostname instead of a numeric address.
If you get that far, try "lynx http://www.redhat.com" or similar.
Hope that helps, & that RH6.1 is similar enough to RH6.0.
I don't use Gnome or any of the X-windows stuff, as until yesterday
did not have enough disk space to install it.
I find linuxconf (in text mode) is very good & is gradually extending
the range of config files it supports.
You could subsribe to the SLUG mailing list, which is not a newsgroup,
so not censored, or you could browse the SLUG list archives on the web,
(www.slug.org.au).
Rod - does your ISP go direct to a ppp session ? or do they begin
with a login sequence first, and then switch to ppp mode ?
Good luck & zaijian,
Brian
At 12:00 PM 8/02/2000 +1100, Grahame M. Kelly wrote:
>On Mon, 07 Feb 2000, you wrote:
>> Grahame
>>
>> I wonder if I could point me in the right direction for some help with
>> getting on to the Internet with Linux. I got your name from the SLUG page
>> at Linux.org.
>>
>
>Rod I have placed your email on the SLUG mailing list as there are many
>people more qualified to answer your questions than I. I am sure the SLUG
>members would be only to pleased to assist.
>
>> I am an ex Sydney resident living in China (Beijing) and its very difficult
>> to get any help up here with local people because of the language problem,
>> and because of restrictions on the Internet here we don't have access to
>> news groups which is where I would normally have gone.
>>
>> A family member posted up from Australia the OReilly "Learning Red Hat
>> Linux" which came with a CD with Red Hat 6.1.
>>
>> Have read all the HOW-TOs and FAQs from the Web and from my CD which came
>> with the Learning Red Hat, and have Peter Nortons Complete Guide to Linux.
>> Have tried all the suggestions in these publications and still can't
>> achieve the most fundamental thing which is to get on to the Internet.
>>
>> The problem seems to come down to two things:
>>
>> . Often I get a message which says that the modem is locked and so can't
>> dial out.
>>
>> . On the occasions when I can dial out I can make a connection with my ISP
>> (www.eastnet.com.cn) where my user name and password are accepted and I am
>> assigned a dynamic number for the session. However on only one occasion
>> after trying for three days have I been able to ping the number assisned
>> me, and that was when using dip -t
>>
>> Have tried all of the following programs, each many times but never get
>> anywhere (except for the one brief ping with dip) - and have reinstalled
>> Linux to try and fix the problem. I very closely follow the instructions
>> for the programs from the books and screen, but sometimes they don't
>> respond the way the book says they should e.g the OReilly book says that
>> after altering wvdial.conf you issue
>>
>> route del default -- and I get a message which says SCIODRT not
>> recognised (or similar).
>>
>> Dip
>>
>> Wvdial
>>
>> minicom
>>
>> Linuxconf within Gnome
>>
>> netcfg &
>>
>> KDPPP
>>
>>
>> The results are:
>>
>> DIP
>> Can establish contact with ISP (login and get number) but don't get a ping
>> result. Then the next time I try I get a message which says
>>
>> attempt to use already locked tty /var/lock/LCK..modem
>> can't open - problems with locking modem
>>
>> WVDIAL
>> Carefully make the changes to the wvdial.conf file as instructed with the
>> result mentioned above then enter
>> /usr/local/bin/wvdial &
>> and nothing happens.
>>
>> MINICOM
>> Am usually quite succesful in logging in to the ISP but can never ping.
>> However often get a message which says
>> device /dev/modem is locked.
>>
>> LINUXCONF GNOME
>> Usually not easy to enter parameters at the config - networking - client
>> tasks - PPP/SLIP/PLIP
>> because I always get the same error messages when I hit the Accept button
>> and act/changes which is
>> something like
>> The changes you have made are not in sync with the system. You can
>> activate them or view what needs to be done to fix the problem. Invariably
>> what has to be fixed is
>> /etc/rc.d/rc5.d/S85gpm start and sometimes another one
>> /etc/rc.d/rc5.d/S50inet restart
>> I make those entries or else use netconf --update but the same error
>> messages are there everytime I use Linuxconf Gnome.
>> Anyway I enter all the ppp0 information - hit activate - and the thing is
>> completely dead.
>>
>> NETCFG &
>> Enter all the parameters - don't get any error messages - hit activate -
>> completely dead
>>
>> KDPPP
>> Here there are a variety of messages such as
>> there is a 'lock' at /etc/ppp.options KDPPP has its own locking process
>> Usually after having completed the setup I hit the connect button there is
>> ATZ on the debug screen - again completely dead. Rang out on only two
>> occaisions but the connection was immediately dropped.
>>
>>
>> Have run modemtool and tried each of the above processes many times over a
>> couple of days but am getting nowhere. I am new to Linux and I am finding
>> it a bit frustrating. Have been using the Web since before Mosaic came
>> along and it was text based, but I have never had such a difficult time.
>>
>> Have not even tried to put on other hardware such as a printer or a Jaz
>> drive. The modem is the only hardware attached.
>>
>> Would appreciate it very much if you could let me know who could give me
>> some suggestions, or what else I may do, because as I say there's not a lot
>> of options in China, particularly as we can't get on to news groups because
>> of the censorship problem.
>>
>> Regards
>>
>>
>> Rod Morphett
>--
>SLUG (Sydney Linux User Group) www.slug.org.au
>
>--
>SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
>To unsubscribe send email to [EMAIL PROTECTED] with
>unsubscribe in the text
>
----------------------------------------------
Brian Martin, [EMAIL PROTECTED]
Future Software Pty Ltd, Sydney, Australia.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text