Re: um-ppp installation
On 21-Nov-2001 Neal H Walfield wrote:
>> But I have a little probleme: I can't make a device /dev/tun0 (or N)
>> with ./MAKEDEV tun0 in /dev like it's said in the ppp man pages.
> Well, the man pages are BSD centric. In the Hurd, pfinet will
> automatically create the tunnel device for you. Just run
> settrans -acpfg /servers/socket/2 /hurd/pfinet -i tun0
> and then take a look in /dev.
Thanks, that works.
But I got another error:
when I start ppp (as root), I got this messages:
# /sbin/ppp -auto ondemand
Working in auto mode
Using interface: tun0
Error: rt_Update: ioctl(SIOCSIFDSTADDR): 0.0.0.0: no such device
Error: rt_Update: ioctl(SIOCSIFNETMASK): 0.0.0.0: no such device
I use the ppp.conf.sample as this (paste in /etc/ppp/ppp.conf and
update login, password and DNS).
I've try with other labels than 'ondemand' and with other devices
(original /dev/cuaa1 -> /dev/ttyS0, /dev/tty00, /dev/tty01)
but I always got the same errors.
I use a single machine, with a simple modem.
On Linux, I have my modem on /dev/ttyS0.
So, can I connect my GNU/Hurd box to the net with an ISP ?
Is there a simple way to test if my modem is working ?
Thanks for any help,
PS1: Like I don't find docs on this subjet (only messages), I'll
very happy to make one or include one in a FAQ. (But I have to
understand what to do)
PS2: I got some other errors with ppp when it runs with a normal
user. But It's less important, it's just permissions problems.
PS3: Thanks for your work, the GNU/Hurd is very amazing!
Phil Brochard <email@example.com>