Success. cam1965, thanks so much. I would have never figured this out on my own.
qemu-user-binfmt
Had everything else installed, except for that. I wonder why debuild didn't throw up a more informative error.
lsusb
showed the Huawei and I eventually found its tty (ttyUSB0) and I got on-line with wvdial.
A couple more questions if you don't mind:
1) after exiting wvdial, what would the console command to disable the modem completely (it eats a lot of battery), and the command to bring it back up?
2) if I found out the information about my usb wifi adapter, could I simply paste that into your confignew1 file and recompile? (I have a strong feeling it's not that easy)
Thanks once more for your help.
Jake
Hi.
I don't know the command to disable the modem. When you insert it in the usb port it loads usbserial and usb_wwan modules.
And you cannot unload the modules when the modem is connected. So unplug the modem and connect it when you want to use it.
If you use pppconfig you can turn on or off the connection
to connect :
sudo pon ( connection name )
the modem light will flash.
To disconnect :
sudo poff -a
( So the modem light will be not flashing , but will still on )
For the second question, you have to follow as below
First :
sudo apt-get install firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree
git clone
https://github.com/gemian/cosmo-linux-kernel-4.4.gitcd cosmo-linux-kernel-4.4
git checkout packaging
go to home directory ( type cd enter )
So make a compressed backup of the kernel
tar cjvf kernel.tar.bz2 cosmo-linux-kernel-4.4 ( It is important this is a kernel tree without modifications).
Enter to the source
cd cosmo-linux-kernel-4.4
cp /home/cosmo/confignew1 ./.config
Make menuconfig ( install the packages to compile in order to menuconfig works )
Make your changes.( here you have to find your wifi driver and enable it on kernel )
copy .config file to some location ( cp .config /home/cosmo/confignew2 )
remove the directory rm -rf cosmo-linux-kernel-4.4 ( this is very important )
extract the kernel backup
tar jxvf kernel.tar.bz2
So you have a kernel tree without modifications.
Enter the source ( cd cosmo-linux-kernel-4.4 )
copy the confignew2 file to arch/arm64/configs/k71v1_64_bsp_defconfig ( cp /home/cosmo/confignew2 arch/arm64/configs/k71v1_64_bsp_defconfig )
so do : debuild -b -uc -us
after the process : sudo dpkg -i ../cosmo-linux-kernel*deb