Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This can be a hassle with lfs.
Don't know why you have so many usb_serial modules. The 'CONFIG_' bits look otherwise OK. Wvdial-1.61 is stable code. Run
Code:
ldd /path/to/wvdial |grep found
and see if it throws up anything. The correct output is nothing. Otherwise, put a question mark over toolchain, or kernel and look for confirmation before doing major surgery. Does everything else work? Are you in the correct group?
This can be a hassle with lfs.
Don't know why you have so many usb_serial modules. The 'CONFIG_' bits look otherwise OK. Wvdial-1.61 is stable code. Run
Code:
ldd /path/to/wvdial |grep found
and see if it throws up anything. The correct output is nothing. Otherwise, put a question mark over toolchain, or kernel and look for confirmation before doing major surgery. Does everything else work? Are you in the correct group?
I've been compiling ppp, but still can not be found in the ppp module /lib/modules/4.4.2.
I your kernel you need to make "PPP Support" a module to have it in /lib/modules while you are compiling it in. What I think you will get is compiled in PPP, but some modules like ppp_this & ppp_that. The main PPP module is compiled in.
EDIT:
make make modules_install
cp -v arch/x86/boot/bzImage /boot/vmlinuz-4.4.2-lfs-7.9
cp -v System.map /boot/System.map-4.4.2
cp -v .config /boot/config-4.4.2
I would also take '-lfs-7.9' off the kernel t meet the suffix identical to the System.map suffix. That might prevent issues.
Last edited by business_kid; 07-14-2016 at 01:18 AM.
I your kernel you need to make "PPP Support" a module to have it in /lib/modules while you are compiling it in. What I think you will get is compiled in PPP, but some modules like ppp_this & ppp_that. The main PPP module is compiled in.
EDIT:
make make modules_install
cp -v arch/x86/boot/bzImage /boot/vmlinuz-4.4.2-lfs-7.9
cp -v System.map /boot/System.map-4.4.2
cp -v .config /boot/config-4.4.2
I would also take '-lfs-7.9' off the kernel t meet the suffix identical to the System.map suffix. That might prevent issues.
When you configured your kernel (menuconfig?) did you
set PPP Support to M for module?. If not rebuild your kernel with that set.
Hope that clarifies and helps,
Tim
This occurred because of the possibility of bugs in the wvdial, I tried to switch to using ppp, but what happens when I run pon (provider name) still do not run my usb modem.
when I've done on PPPConfig configuration, this is a syslog mine when running pon (provider name).
Code:
Jul 14 23:36:33 oncom pppd[3567]: pppd 2.4.7 started by root, uid 0
Jul 14 23:36:34 oncom chat[3568]: abort on (BUSY)
Jul 14 23:36:34 oncom chat[3568]: abort on (NO CARRIER)
Jul 14 23:36:34 oncom chat[3568]: abort on (VOICE)
Jul 14 23:36:34 oncom chat[3568]: abort on (NO DIALTONE)
Jul 14 23:36:34 oncom chat[3568]: abort on (NO DIAL TONE)
Jul 14 23:36:34 oncom chat[3568]: abort on (NO ANSWER)
Jul 14 23:36:34 oncom chat[3568]: abort on (DELAYED)
Jul 14 23:36:34 oncom chat[3568]: send (ATZ^M)
Jul 14 23:36:34 oncom chat[3568]: expect (OK)
Jul 14 23:36:34 oncom chat[3568]: ATZ^M^M
Jul 14 23:36:34 oncom chat[3568]: OK
Jul 14 23:36:34 oncom chat[3568]: -- got it
Jul 14 23:36:34 oncom chat[3568]: send (ATDT*99#^M)
Jul 14 23:36:34 oncom chat[3568]: expect (CONNECT)
Jul 14 23:36:34 oncom chat[3568]: ^M
Jul 14 23:36:34 oncom chat[3568]: ATDT*99#^M^M
Jul 14 23:36:34 oncom chat[3568]: NO CARRIER
Jul 14 23:36:34 oncom chat[3568]: -- failed
Jul 14 23:36:34 oncom chat[3568]: Failed (NO CARRIER)
Jul 14 23:36:34 oncom pppd[3567]: Script /usr/sbin/chat -v -f /etc/chatscripts/3 finished (pid 3568), status = 0x5
Jul 14 23:36:34 oncom pppd[3567]: Connect script failed
root [ ~ ]# modprobe -v ppp
modprobe: FATAL: Module ppp not found in directory /lib/modules/4.4.2
Not a lot of use, I'm afraid.
It's not about just having a module, but not having it compiled into the kernel.
You need to rebuild the kernel with PPP Support as a module & install that kernel.
Not a lot of use, I'm afraid.
It's not about just having a module, but not having it compiled into the kernel.
You need to rebuild the kernel with PPP Support as a module & install that kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.