On 2002.06.04 10:12 Dr Dirk Pilat wrote: > > Bonjour! > > I have a couple of questions which unfortunately reflect that I am a > complete Openbsd/unix newbie. > I have read the Faq and had a look through the archives, but my > questions are just way too basic. > Please bear with me :-) . > > Thanks to the excellent install-doc I was able to install and compile > the driver and binaries on my open bsd box. > Modem_run works (I can see the MODEM's lights switching on), but ppp > -background adsl returns > "using interface tun1 > child failed (errdead)" > > dmesg recognises the modem ok, and I adapted the sample ppp.conf file > to > my host (xtra.co.nz), I have my nameservers adress, so that's cool. > > Ok, tun1 is my interface, meaning that I probably will have to > configure a /etc/hostname.tun1 file, which is where my problem starts: > As I will > be using a dynamic IP adress, I will not be able to assign a adress, > as > it will be configured py ppp.
No need to do that, the ppp daemon will use tun1 (or tun0) as an interface to inject IP packets from the pppoa tasks. It's called kernel tunneling (tye 'man tun' and man'ppp'). When you get the box working, ifconfig -a will show the connection under the tun interface (not the ppp interface). Theres no need to configure it like ethernet devices. > > Which brings me to the next point: > This openbsd box is supposed to be the gateway for my other compi's so > > I'm not going to be able to add a adress to /etc/mygate. When the link finally comes up, the add default HISADDR line in the ppp.conf file should create the default route and you don't want to specify a gateway address in the gateway. > > With other words: so far I have either a ipadress nor a gateway, and > of > course no connection. > what to do? I am sure I have missed plenty of things... > > Thanks guys, > > Dirk whack up the verbosity and debug levels in all relevant programs. -v 2 in the pppoa2 line of ppp.conf. -v 1 in modem_run don't forget to check all relevant logs (/var/log/daemon, /var/log/ppp /var/log/messages) The thing that helped me most, was to run ppp in interactive mode. It's a bit tricky, follow the man page abd don't forget the device is actually the invocation of pppoa2, but you get some informative error messages that you wouldn't otherwise see.) Otherwise, post some of the error logs (snippets) and config files. Take out the personal data!! Good luck. > ---PRESS ANY KEY TO CONTINUE--- > "Now, where's the 'any' key?" > > > > Liste de diffusion modem ALCATEL SpeedTouch USB > Pour se d�sinscrire : > mailto:[EMAIL PROTECTED]?subject=unsubscribe > > > Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe
