On Aug 9, 2002, 17:43 (+0200) Wolfgang Pfeiffer wrote:

> Hi all
> Redhat 6.2, rp-pppoe-3.5-1, sudo-1.6.5p2-1.6x.1, single-user machine
> here ...
> After booting the machine I try to start an adsl-connection as a
> non-root by entering a
> sudo adsl-start
>
> And it does not work:
>
> Excerpt from /var/log/messages regarding this connection-attempt:
>
> -------------------------------------
> Aug  9 15:42:11 happysleep kernel: eth0: RealTek RTL8139 Fast Ethernet
> at 0xe000
> , IRQ 10, 00:50:fc:42:13:e9.
> Aug  9 15:42:11 happysleep kernel: PPP: version 2.3.7 (demand
> dialling)
> Aug  9 15:42:11 happysleep kernel: PPP line discipline registered.
> Aug  9 15:42:11 happysleep kernel: registered device ppp0
> Aug  9 15:42:11 happysleep pppd[829]: pppd 2.3.11 started by root, uid
> 0
> Aug  9 15:42:11 happysleep pppd[829]: Using interface ppp0
> Aug  9 15:42:11 happysleep pppd[829]: Connect: ppp0 <--> /dev/pts/7
> Aug  9 15:42:11 happysleep modprobe: modprobe: Can't locate module
> tty-ldisc-13

I put this line in /etc/modules.conf:
alias tty-ldisc-13 n_hdlc

I'm not sure what this really does, but it works :)

(I *think* this line loads a Kernel module at system-start that a
non-root user even with a sudo-adsl permission cannot start ... )

I can now sudo-start an ADSL-connection without root being neccessary
to start a connection at least once *before* a non-root user does that
..

http://www.nts.com/support/linuxreleasenotes.html

Hoping this helps others, ... too :)

Regards
Wolfgang

( .. and sorry about not putting my answer into the thread I started:
it seems I deleted my own posting as it appeared on this list; so I
had to take the mail that I still had in my sent-mail folder ...)

-Wolfgang

> Aug  9 15:42:11 happysleep pppoe[831]: Unable to set line discipline
> to N_HDLC.
>  Make sure your kernel supports the N_HDLC line discipline, or do not
> use the SY
> NCHRONOUS option.  Quitting.
> Aug  9 15:42:11 happysleep pppd[829]: write: warning: Input/output
> error (5)
> Aug  9 15:42:11 happysleep pppd[829]: Modem hangup
> Aug  9 15:42:11 happysleep pppd[829]: Connection terminated.
> Aug  9 15:42:11 happysleep pppd[829]: Exit.
> [ ... ]
> ----------------------------------------------------------
>
> Only after I killed adsl-connect as root this whole "attempting
> re-connection" could be stopped (although I sudo-ed "adsl-stop" for
> non-root user)
>
> Then, as *root*, I could establish a dsl-connection successfully,
> closed down this connection and only now *non*-root could establish an
> adsl-connection successfully.
>
> I sudo-ed the adsl-stuff (and several other commands) only some days
> ago to me as non-privileged user, and I suspect now, that it's an
> ownership problem for a file or device, that causes this problem ..
>
> Months before that, as long as I ran "adsl-connect" etc. as root I
> didn't have these problems ...
>
> Ideas about what's going on there?
>
> Thanks in anticipation.
>
> Regards
> Wolfgang
>
>
>

-- 
Key on: http://home.t-online.de/home/520050060325-0001/
Key fingerprint = 5FFA E2D1 6DB5 C023 0C5F  3FA7 4E08 5F9F 1560 0BA8
                  [created on 2002-07-03]

http://www.geocities.com/wolfgangpfeiffer/

                            -- END TRANSMISSION --




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to