Date: Mon, 27 Mar 2000 13:13:04 -0800 (PST) From: Ian Hart <ianjhart@yahoo.com> To: stable@freebsd.org Subject: Re: tun0 lost in 4.0 Message-ID: <20000327211304.16647.qmail@web204.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Brian Somers wrote: > > > Walter Brameld wrote: > > > > > > On Sun, 19 Mar 2000, in a never-ending search for > > enlightenment, Sergei Vyshenski wrote: > > > > Can not revive tun0 interface after moving to 4.0 > > from 3.4 > > > > in a way that src/UPDATING teaches. > > > > > > > > Kernel file has "pseudo-device tun 1", > > kernel builds ok; > > > > ./MAKEDEV tun0 in /dev does not complain; > > > > bbut ifconfig says: "interface tun0 does not > > exist" > > > > > > > > Actually, I need tun0 to accept incoming user-ppp, > > > > and would be happy to hear of workaround at least. > > > > > > > > Thank you in advance. > > > > Sergei > > > > > > Believe it should only be "pseudo-device tun" with > > no "1". > > > > > > -- > > > Walter Brameld > > > > Sergei, did you fix your problem? > > > > A bit late on this thread I know. The reason being - > > no modem for over a week. When I ran ppp and went to > > terminal mode there was no response at all from the > > modem. I was running 4.0-STABLE. Was A1 under > > 3.4-STABLE. I managed to get online (very) early > > Saturday morning to cvsup. Sometime during the power > > down/make world/reading of 500+ emails it broke again. > > It's currently working (obviously), but I'm too > > paranoid to do anything in case I break it again. I > > have set pseudo-device tun 1, contrary to GENERIC > > setting. > > You shouldn't even need this line. Ppp(8) will load the module if it > needs to. The fact that ppp actually started means that there are no > tun(4) related problems. If you're getting no response from the > modem, then you really need to look in that direction. > If terminal mode passes through tun0 then it needs to be considered. Otherwise not. I'm in the dark here. > > The modem is a no-name (ORIGO) 56k6 Rockwell Voice, > > ISA with jumpers, set to COM 4 IRQ 9. Tried in the two > > machines I have at home. One with PNP COM ports, the > > other not. Could be broken hardware of course. > > Hmm, I tend to avoid irq 2/9.... I've tried all the _normal_ settings with the same result. Ppp loads fine, but there is no response to any input in terminal mode. In order to get the modem to work I had to trash my NT partition and install Win95. Even then the normally reliable setup failed to detect the modem. It was only when I set the CMOS to PNP O/S and did find new hardware that the modem revived. Is FreeBSD now a PNP O/S? Now I didn't want to mention this before, due to the flame war, but... This modem was designed to be PNP or jumpered. The jumper has been bridged to disable PNP at the factory. (Doesn't work?) I don't suppose that this could be confusing the start up probes in some way. This is a genuine suggestion please don't flame me! Just tell me how I can make the probe more verbose? I know I won't get much help without logs, but if I break the modem again I could be off line some time. I need as much information as I can get before I reboot. > > > I also find I can no longer authenticate on freeserve > > (UK). X-stream is okay. Can someone who uses freeserve > > confirm/deny connection with 4.0-STABLE. Could be > > broken ISP of course. > > Have you built ppp with DES ? You should see be a -DHAVE_DES option on > the cc line when building. Also, make sure you haven't got any # > characters in you password - if you have, you'll need to quote ("") > the password string or escape the #. > This is a secondry issue as I can at least connect via x-stream. AFAIK I have a _stock_ system, whatever that means. My understanding is that if the crypto sources are present make world sucks them in automatically. Please correct me if I am wrong. I did discover that mergemaster -s -v does what I thought mergemaster -s did. RTFM. What cruft there was looks harmless to me. I do have USA_RESIDENT = NO set in /etc/make.conf. What do I need to add to make the build behave as setting USA_RESIDENT= YES would do. The comment in make.conf suggests that this is only for ports. /etc/defaults/make.conf seems to enable all crypto stuff unless you uncomment the NOxxx= true lines. HAVE_DES is not mentioned there. If all my mailing lists wren't sent to freeserve I'd just swap ISP's and forget it. FYI x-stream is PAP. > > Any assistance would be most welcome. I can provide > > dmesg or whatever, but I'm not sure that will help as > > it's currently okay. Could be broken 'userware' of > > course :-) > > > > On a positive note, at least I now know how to set up > > a gateway host and DNS servers. Next step - packet > > filtering and proxy servers. Joy Joy Joy. > > > > ian j hart > > > > PS. The upgrade 3.4-4.0 went more or less without a > > hitch. Slightly sweaty palms I couldn't remount / > > single user. Fixed that once I realised it was still > > on wd0 not ad0. > > > > PPS. This probably will not attach to the thread. I > > find I cannot send mail (ISP firewall?). Thank God for > > Yahoo in emergencies. > > > > __________________________________________________ > > Do You Yahoo!? > > Talk to your friends online with Yahoo! Messenger. > > http://im.yahoo.com > > -- > Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> > <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> > Don't _EVER_ lose your sense of humour ! Thanks for your reply BTW, I thought everyone had gone fishin' or something TIA ian j hart sending via Yahoo for previously stated reason. Doesn't seem to be forwarding so please REPLY TO: ianjhart@freeloader.freeserve.co.uk __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000327211304.16647.qmail>