Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252958 - >=net-dialup/ppp-2.4.4-r15 breaks bluetooth 3G "dialin"
Summary: >=net-dialup/ppp-2.4.4-r15 breaks bluetooth 3G "dialin"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-29 06:34 UTC by Michael Mohr
Modified: 2009-03-03 20:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mohr 2008-12-29 06:34:44 UTC
I'm not sure what exactly caused this breakage, since not really all that much changed between -r14 and -r15.  Nonetheless, if I upgrade to any ebuild beyond -r14 pppd breaks in subtle ways.

Reproducible: Always

Steps to Reproduce:
1. Install net-dialup/ppp-2.4.4-r14
2. Start net.ppp0 and observe internet connectivity
3. Install net-dialup/ppp-2.4.4-r15 or net-dialup/ppp-2.4.4-r21
4. Start net.ppp0 and observe ppp breakage

I had to install the old ebuilds from an outdated laptop in an overlay as they have been deleted from the current Gentoo overlay.
Actual Results:  
Internet breaks.

Expected Results:  
Internet works.

I'll update this bug with more specific error messages as I continue testing.  I opened a bug on this exact issue before, but the pppd maintainers closed it.  I didn't have the time to debug at that time, but now I do.
Comment 1 Michael Mohr 2008-12-29 06:41:13 UTC
Here is the relevant section from /etc/conf.d/net.  Note that this configuration DOES work with pppd-2.4.4-r14.  ppp0 defines a connection to t-mobile's 3G network over a bluetooth serial device.  The serial device that is bound to rfcomm0 is my cellular phone.  Yes, the username/pass combination is in fact guest/guest.

config_ppp0=( "ppp" )
link_ppp0="/dev/rfcomm0"
pppd_ppp0=( "230400" "updetach" "noipdefault" "defaultroute" "usepeerdns" )
phone_number_ppp0=( "*99***1#" )
chat_ppp0=(
       'ABORT' 'ERROR'
       'ABORT' 'NO ANSWER'
       'ABORT' 'NO CARRIER'
       'TIMEOUT' '5'
       '' 'ATZ'
       'OK' 'AT+CGDCONT=1,"IP","internet3.voicestream.com","0.0.0.0",1,1'
       'OK' 'ATDT\T'
       'TIMEOUT' '60'
       'CONNECT' ''
)
username_ppp0="guest"
password_ppp0="guest"
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-31 11:50:33 UTC
Please submit your emerge --info" and "emerge -pv ppp openrc" output.
Comment 3 Michael Mohr 2009-01-05 04:03:27 UTC
openrc is not installed.

$ emerge --info ; emerge -pv ppp       
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.6.1-r0, 2.6.28 i686)
=================================================================
System uname: Linux-2.6.28-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.0
Timestamp of tree: Fri, 02 Jan 2009 04:00:04 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo "
LANG="C"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa avahi bash-completion berkdb bluetooth bzip2 cli cracklib crypt cups curl dbus dri exif fam ffmpeg flac fortran fuse gdbm gedit gmp gnome gnutls gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg ldap mad midi mmx mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python readline reflection samba sdl session smp spell spl sse sse2 ssl svg sysfs tcl tcpd tiff truetype unicode x86 xcb xorg xprint xulrunner xv zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-dialup/ppp-2.4.4-r14  USE="activefilter dhcp eap-tls gtk ipv6 pam radius -atm -mppe-mppc" 0 kB [?=>1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage
 [?] indicates that the source repository could not be determined
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2009-01-11 09:35:13 UTC
Subtle or not, I need to see what exactly is broken in your setup.
Add "debug" to pppd_ppp0 and post here the resulted logs.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2009-03-03 20:11:10 UTC
Reporter vanished, closed as NEEDINFO.