View previous topic :: View next topic |
Author |
Message |
thessem n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Dec 2006 Posts: 9
|
Posted: Mon Dec 01, 2008 10:46 pm Post subject: ppp0: error fetching interface information <Semi solved&g |
|
|
EDIT: For some strange reason, removing updetach from ppp options fixes it beautifully, I would really like to know why, though
I've had this problem with both a shiny new install of gentoo (2008.0) (Nothing much upgraded) and the gentoo box just before I re-installed,
I use a Telstra NT1 plus 2 isdn modem, connected to the computer via USB, whenever I try to dial up, it always dials up once, hangs up immediately, and then waits 30 seconds, and dials up successfully
The terminal output as I'm trying to dial up
Code: | calliope ~ # /etc/init.d/net.ppp0 start
* Starting ppp0
* Bringing up ppp0
* ppp
* Running pppd ...
ppp0: error fetching interface information: Device not found
* ppp0 received address
|
/var/log/messages as I'm trying to dial up
Code: | Dec 2 09:17:18 calliope pppd[4530]: Plugin passwordfd.so loaded.
Dec 2 09:17:18 calliope pppd[4530]: pppd 2.4.4 started by root, uid 0
Dec 2 09:17:19 calliope chat[4531]: abort on (BUSY)
Dec 2 09:17:19 calliope chat[4531]: abort on (ERROR)
Dec 2 09:17:19 calliope chat[4531]: abort on (NO ANSWER)
Dec 2 09:17:19 calliope chat[4531]: abort on (NO CARRIER)
Dec 2 09:17:19 calliope chat[4531]: abort on (NO DIALTONE)
Dec 2 09:17:19 calliope chat[4531]: abort on (Invalid Login)
Dec 2 09:17:19 calliope chat[4531]: abort on (Login incorrect)
Dec 2 09:17:19 calliope chat[4531]: timeout set to 5 seconds
Dec 2 09:17:19 calliope chat[4531]: send (ATZ^M)
Dec 2 09:17:19 calliope chat[4531]: expect (OK)
Dec 2 09:17:19 calliope chat[4531]: ^M
Dec 2 09:17:19 calliope chat[4531]: OK
Dec 2 09:17:19 calliope chat[4531]: -- got it
Dec 2 09:17:19 calliope chat[4531]: send (AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1^M)
Dec 2 09:17:20 calliope chat[4531]: expect (OK)
Dec 2 09:17:20 calliope chat[4531]: ^M
Dec 2 09:17:20 calliope chat[4531]: AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1^M^M
Dec 2 09:17:20 calliope chat[4531]: OK
Dec 2 09:17:20 calliope chat[4531]: -- got it
Dec 2 09:17:19 calliope chat[4531]: send (AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1^M)
Dec 2 09:17:20 calliope chat[4531]: expect (OK)
Dec 2 09:17:20 calliope chat[4531]: ^M
Dec 2 09:17:20 calliope chat[4531]: AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1^M^M
Dec 2 09:17:20 calliope chat[4531]: OK
Dec 2 09:17:20 calliope chat[4531]: -- got it
Dec 2 09:17:20 calliope chat[4531]: send (ATDT0198333349^M)
Dec 2 09:17:20 calliope chat[4531]: timeout set to 60 seconds
Dec 2 09:17:20 calliope chat[4531]: expect (CONNECT)
Dec 2 09:17:20 calliope chat[4531]: ^M
Dec 2 09:17:20 calliope chat[4531]: ^M
Dec 2 09:17:20 calliope chat[4531]: CONNECT
Dec 2 09:17:20 calliope chat[4531]: -- got it
Dec 2 09:17:20 calliope chat[4531]: send (^M)
Dec 2 09:17:20 calliope chat[4531]: timeout set to 5 seconds
Dec 2 09:17:20 calliope chat[4531]: expect (~)
Dec 2 09:17:20 calliope chat[4531]: ^M
Dec 2 09:17:22 calliope chat[4531]: ~
Dec 2 09:17:22 calliope chat[4531]: -- got it
Dec 2 09:17:20 calliope chat[4531]: send (^M)
Dec 2 09:17:20 calliope chat[4531]: timeout set to 5 seconds
Dec 2 09:17:20 calliope chat[4531]: expect (~)
Dec 2 09:17:20 calliope chat[4531]: ^M
Dec 2 09:17:22 calliope chat[4531]: ~
Dec 2 09:17:22 calliope chat[4531]: -- got it
Dec 2 09:17:22 calliope chat[4531]: send (^M)
Dec 2 09:17:22 calliope pppd[4530]: Serial connection established.
Dec 2 09:17:22 calliope pppd[4530]: Using interface ppp0
Dec 2 09:17:22 calliope pppd[4530]: Connect: ppp0 <--> /dev/ttyACM0
Dec 2 09:17:32 calliope pppd[4530]: PAP authentication succeeded
Dec 2 09:17:32 calliope pppd[4530]: local IP address 203.129.146.194
Dec 2 09:17:32 calliope pppd[4530]: remote IP address 203.123.69.83
Dec 2 09:17:32 calliope pppd[4530]: primary DNS address 203.24.100.125
Dec 2 09:17:32 calliope pppd[4530]: secondary DNS address 203.123.94.40
Dec 2 09:17:32 calliope pppd[4534]: Modem hangup
Dec 2 09:17:32 calliope pppd[4534]: Connect time 0.0 minutes.
Dec 2 09:17:32 calliope pppd[4534]: Sent 0 bytes, received 0 bytes.
Dec 2 09:17:32 calliope pppd[4534]: Connection terminated.
Dec 2 09:18:04 calliope chat[5306]: abort on (BUSY)
Dec 2 09:18:04 calliope chat[5306]: abort on (ERROR)
Dec 2 09:18:04 calliope chat[5306]: abort on (NO ANSWER)
Dec 2 09:18:04 calliope chat[5306]: abort on (NO CARRIER)
Dec 2 09:18:04 calliope chat[5306]: abort on (NO DIALTONE)
Dec 2 09:18:04 calliope chat[5306]: abort on (Invalid Login)
Dec 2 09:18:04 calliope chat[5306]: abort on (Login incorrect)
Dec 2 09:18:04 calliope chat[5306]: timeout set to 5 seconds
Dec 2 09:18:04 calliope chat[5306]: send (ATZ^M)
Dec 2 09:18:04 calliope chat[5306]: expect (OK)
Dec 2 09:18:04 calliope chat[5306]: ~^?}#@!}&} } }$,8~^M
Dec 2 09:18:04 calliope chat[5306]: OK
Dec 2 09:18:04 calliope chat[5306]: -- got it
Dec 2 09:18:04 calliope chat[5306]: send (AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1^M)
Dec 2 09:18:05 calliope chat[5306]: expect (OK)
Dec 2 09:18:05 calliope chat[5306]: ^M
Dec 2 09:18:05 calliope chat[5306]: ^M
Dec 2 09:18:05 calliope chat[5306]: OK
Dec 2 09:18:05 calliope chat[5306]: -- got it
Dec 2 09:18:05 calliope chat[5306]: send (ATDT0198333349^M)
Dec 2 09:18:05 calliope chat[5306]: timeout set to 60 seconds
Dec 2 09:18:05 calliope chat[5306]: expect (CONNECT)
Dec 2 09:18:05 calliope chat[5306]: ^M
Dec 2 09:18:05 calliope chat[5306]: AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1^M^M
Dec 2 09:18:05 calliope chat[5306]: OK^M
Dec 2 09:18:06 calliope chat[5306]: ^M
Dec 2 09:18:06 calliope chat[5306]: CONNECT
Dec 2 09:18:06 calliope chat[5306]: -- got it
Dec 2 09:18:06 calliope chat[5306]: send (^M)
Dec 2 09:18:06 calliope chat[5306]: timeout set to 5 seconds
Dec 2 09:18:06 calliope chat[5306]: expect (~)
Dec 2 09:18:06 calliope chat[5306]: ^M
Dec 2 09:18:07 calliope chat[5306]: ~
Dec 2 09:18:07 calliope chat[5306]: -- got it
Dec 2 09:18:07 calliope chat[5306]: send (^M)
Dec 2 09:18:07 calliope pppd[4534]: Serial connection established.
Dec 2 09:18:07 calliope pppd[4534]: Using interface ppp0
Dec 2 09:18:07 calliope pppd[4534]: Connect: ppp0 <--> /dev/ttyACM0
Dec 2 09:18:14 calliope pppd[4534]: PAP authentication succeeded
Dec 2 09:18:14 calliope pppd[4534]: local IP address 203.129.146.194
Dec 2 09:18:14 calliope pppd[4534]: remote IP address 203.123.69.83
Dec 2 09:18:14 calliope pppd[4534]: primary DNS address 203.24.100.125
Dec 2 09:18:14 calliope pppd[4534]: secondary DNS address 203.123.94.40
|
My /etc/conf.d/net file
Code: | config_eth0=( "192.168.200.1 netmask 255.255.255.0" )
config_ppp0=( "ppp" )
username_ppp0='*******'
password_ppp0='*******'
phone_number_ppp0="0198333349"
link_ppp0="/dev/ttyACM0"
pppd_ppp0=( "updetach" "noauth" "defaultroute" "usepeerdns" "115200" )
chat_ppp0=(
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO ANSWER'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'TIMEOUT' '5'
'' 'ATZ'
'OK' 'AT Z !Z=9 !T0=0 !T2=10 !T4=1 E0 V1 &D2 &C1'
'OK' 'ATDT\T'
'TIMEOUT' '60'
'CONNECT' ''
'TIMEOUT' '5'
'~--' ''
)
|
And finally, my portage information
Code: | Portage 2.1.4.5 (default/linux/amd64/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r3
x86_64)
=================================================================
System uname: 2.6.26-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Mon, 01 Dec 2008 04:21:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file
--delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog
ldap mailwrapper midi mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd
python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode xml xorg zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id
userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa
vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
It would be very much appreciated if somebody could point me in the right direction |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thessem n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Dec 2006 Posts: 9
|
Posted: Mon Dec 08, 2008 9:16 am Post subject: |
|
|
Bump, because I solved it, I would like an explanation of the solution though |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|