Unix Technical Forum

Debian Sarge - Now KPPP does not work!

This is a discussion on Debian Sarge - Now KPPP does not work! within the Debian Linux support forums, part of the Debian Linux category; --> Hi okay, now that X problem solved and everything else is okay except for KPPP. With external modem things ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:38 AM
Srikanth NS
 
Posts: n/a
Default Debian Sarge - Now KPPP does not work!

Hi
okay, now that X problem solved and everything else is okay except for KPPP.
With external modem things should work fine, but it is not.
When connecting it goes up to handshake and terminates with pppd error code
1.
Which says a basic sytem call or something else is broken.
Same kind of KPPP setup works without any problem in RH9.

The error message is pasted below:
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
Couldn't find interface ppp0: No such device
pppd: The remote system is required to authenticate itself
pppd: but I couldn't find any suitable secret (password) for it to use to do
so.pppd: (None of the available passwords would let it use an IP address.)
It was pppd that died
pppd exited with return value 1
Sending 2823 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveLock
Opener: received PPPDExitStatus

Now after reading thru KPPP handbook and man kppp
I edited /etc/ppp/options and commented the "auth" parameter and for good
measure added "noauth" in the customise pppd arguments tab in KPPP also.
Still KPPP terminates with error code1.

What else is to be done?

Srikanth



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:38 AM
Madhusudan Singh
 
Posts: n/a
Default Re: Debian Sarge - Now KPPP does not work!

Srikanth NS wrote:

> The error message is pasted below:
> Couldn't find interface ppp0: No such device


Your modem interface cannot be found. This does not sound like a kppp
problem.

> What else is to be done?
>


Could you give us the o/p of the following ?

1. /sbin/ifconfig
2. Check if your /etc/modules.conf contains a line that looks like "alias
ppp0 ppp_generic".
3. /sbin/route -n
4. Contents of /etc/resolv.conf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:38 AM
Bob Hauck
 
Posts: n/a
Default Re: Debian Sarge - Now KPPP does not work!

["Followup-To:" header set to comp.os.linux.misc.]

On Tue, 7 Dec 2004 22:44:25 -0800, Srikanth NS <nssrikanth@hotmail.com>
wrote:

> Couldn't find interface ppp0: No such device


Perhaps the module wasn't loaded when kppp started?


> pppd: The remote system is required to authenticate itself pppd: but I
> couldn't find any suitable secret (password) for it to use to do
> so.pppd: (None of the available passwords would let it use an IP
> address.)


Add "noauth" to /etc/ppp/options and remove any existing "auth".


> Now after reading thru KPPP handbook and man kppp


I think "man pppd" would have been useful too.


> I edited /etc/ppp/options and commented the "auth" parameter and for good
> measure added "noauth" in the customise pppd arguments tab in KPPP
> also.


Except that "auth" is the default if you already have a default route
and pppd ignores "noauth" on the command line if you aren't root. IOW,
that probably doesn't help. Add it to the file.


--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 06:38 AM
Madhusudan Singh
 
Posts: n/a
Default Re: Debian Sarge - Now KPPP does not work!

Madhusudan Singh wrote:

> Srikanth NS wrote:
>
>> The error message is pasted below:
>> Couldn't find interface ppp0: No such device

>
> Your modem interface cannot be found. This does not sound like a kppp
> problem.
>
>> What else is to be done?
>>

>
> Could you give us the o/p of the following ?
>
> 1. /sbin/ifconfig
> 2. Check if your /etc/modules.conf contains a line that looks like "alias
> ppp0 ppp_generic".
> 3. /sbin/route -n
> 4. Contents of /etc/resolv.conf


And please also include the o/p of /sbin/lsmod
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 06:38 AM
Srikanth NS
 
Posts: n/a
Default Re: Debian Sarge - Now KPPP does not work!


"Madhusudan Singh" <spammers-go-here@spam.invalid> wrote in message
news:31md19F3co112U1@individual.net...
> Could you give us the o/p of the following ?
>
> 1. /sbin/ifconfig
> 2. Check if your /etc/modules.conf contains a line that looks like "alias
> ppp0 ppp_generic".
> 3. /sbin/route -n
> 4. Contents of /etc/resolv.conf


I am giving the output in the Debian Sarge with my comments
about RH9 partition and compared .
SriNivas:~# gedit&
[1] 2636
SriNivas:~# /sbin/ifconfig&
[2] 2637
SriNivas:~# lo Link encap:Local Loopback
inet addr:127.0.0.1
}This section looks
inet6 addr: ::1/128
}similar in RH9 side too
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:131 errors:0 dropped:0 overruns:0 frame:0
TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8262 (8.0 KiB) TX bytes:8262 (8.0 KiB)


SriNivas:~# cat /etc/modules.conf | more
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

### update-modules: end processing /etc/modutils/0keep

### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules

# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner


### update-modules: end processing /etc/modutils/actions

### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
--More--

# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off # Acorn Econet

alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5


### update-modules: end processing /etc/modutils/aliases

--More--

### update-modules: start processing /etc/modutils/apm
alias char-major-10-134 apm
alias /dev/apm_bios /dev/misc/apm_bios
alias /dev/misc/apm_bios apm

### update-modules: end processing /etc/modutils/apm

### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the ones that are compiled into the modutils tools
# themselves.


### update-modules: end processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t
"setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t
"setserial-module uload"
#
alias /dev/tts serial
alias /dev/tts/0 serial
alias /dev/tts/1 serial
alias /dev/tts/2 serial
alias /dev/tts/3 serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/setserial

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
--More--
alias char-major-10-135 rtc

### update-modules: end processing /etc/modutils/arch/i386


SriNivas:~# cat /etc/resolv.conf | more
nameserver 202.138.103.100
nameserver 202.138.96.2 } In this section there used
to be
nameserver 202.138.103.100 }a #kppp temp entry in RH
partition
nameserver 202.138.96.2 } where KPPP functions
normally
nameserver 202.138.103.100
nameserver 202.138.96.2
nameserver 202.138.103.100
nameserver 202.138.96.2
nameserver 202.88.238.5
nameserver 202.54.1.30
nameserver 202.54.6.60
nameserver 202.9.145.6

/sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
SriNivas:~#

Here in the above , lot of entries were there in RH partition , in which I
used to
do a lot of browsing connecting thru KPPP without any trouble at all.

Can you point out what mistake I am committing in Debian Sarge side?

Srikanth


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-19-2008, 06:39 AM
James Vahn
 
Posts: n/a
Default Re: Debian Sarge - Now KPPP does not work!

Srikanth NS <nssrikanth@hotmail.com> wrote:
> Which says a basic sytem call or something else is broken.
> Same kind of KPPP setup works without any problem in RH9.
>
> The error message is pasted below:
> Couldn't find interface ppp0: No such device


pppd is not starting.

Do the instructions in /usr/share/doc/kppp/README.Debian help?
They are saying to remove "auth" and replace it with "noauth" in
/etc/ppp/options Also, remove it from the kppp config menu.

Otherwise pppd won't start.


--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com