When I try to use this modem, both gnome-ppp and wvdial tell me: --> WvDial: Internet dialer version 1.54.0 --> Cannot open /dev/ttyLT0: Cannot set information for serial port. --> Cannot open /dev/ttyLT0: Cannot set information for serial port. --> Cannot open /dev/ttyLT0: Cannot set information for serial port. I have checked all the bugs I can find on bugs.gentoo.org, but even after re-emerging wvstreams-4.0.1, wvstreams-4.0.1-rc1, wvstreams-4.0.1-rc2, the issue continues. the system was built with kernel26-headers, but I double checked by doing emerge -C kernel-headers (which failed because it wasn't installed) Reproducible: Always Steps to Reproduce: 1. emerge ltmodem 2. echo "ltmodem" >> /etc/modules.autoload.d/kernel-2.6 3. echo "ltserial" >> /etc/modules.autoload.d/kernel-2.6 4. modprobe ltmodem 5. modprobe ltserial 6. emerge wvdial 7. emerge gnome-ppp 8. ln -sf /dev/ttyLT0 /dev/modem 9. gnome-ppp 10. (configure gnome ppp using all defaults, changed username, password and phone number) 11. connect Actual Results: Connection failed, the log output this: --> Cannot open /dev/ttyLT0: Cannot set information for serial port. --> Cannot open /dev/ttyLT0: Cannot set information for serial port. --> Cannot open /dev/ttyLT0: Cannot set information for serial port. Expected Results: connected to the internet Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6-Initial i686) ================================================================= System uname: 2.6.10-gentoo-r6-Initial i686 AMD Duron(tm) processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 14 2005, 03:15:14)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer -pipe -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d aac acpi aim alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bonobo bzlib calendar cdr cpdflib crypt ctype cups curl curlwrappers dga directfb dv encode esd exif expat fam fbcon fdftk ffmpeg fftw flash font-server foomaticdb ftp gd gdbm gif glut gnome gphoto2 gpm gtk gtk2 gtkhtml guile iconv icq imagemagick imlib java javascript jikes jpeg junit lcms libedit libg++ libwww mad mcal mhash mime ming mmap mmx mng motif mp3 mpeg mpi msn mysql mysqli ncurses nls nocd nptl oggvorbis openal opengl oss pam pcre pdflib perl php pic pie png posix ppds python readline samba sdl sharedmem simplexml slang sndfile spell ssl svg svga symlink sysvipc szip tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l wmf xml2 xmlrpc xmms xpm xv yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
first, make sure you have net-libs/wvstreams-4.0.1-r2. next, try to run as normal user. of course, your user should have full access to /dev/ttyLT0 and /var/lock. does it work?
well? did it worked?
the reporter has vanished
My appologies, I had to leave this issue when I left town for a few days. Your suggestions above worked fine, but I hit another unrelated issue. My friend ended up buying an external modem instead. Thanks for your help.
this bug has been fixed in wvstreams-4.0.2. if anyone need to run wvdial/gnome-ppp as root for starting its ltmodem, he/she should use >=net-libs/wvstreams-4.0.2