LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   I use mobile with usb-modem to connect to internet , how do i configure it in my LFS? (http://www.linuxquestions.org/questions/linux-from-scratch-13/i-use-mobile-with-usb-modem-to-connect-to-internet-how-do-i-configure-it-in-my-lfs-4175452801/)

aashayshah 03-05-2013 10:54 AM

I use mobile with usb-modem to connect to internet , how do i configure it in my LFS?
 
I have just started with BLFS , and i have lynx browser for reading BLFS online book .

First i used to connect to internet using my linux mint maya's mobile broadband option . I used to chroot into newly built LFS system and used to install packages reading the online book .

But now , i ought to reboot into my newly built system to install packages .
After rebooting how do i connect to internet using my NOKIA C2-00 USB MODEM ?

PS- I have no other option to connect to internet other than my phone .

Keith Hedger 03-05-2013 11:43 AM

You know you can download the book for offline reading?
Also after booting into your new system to make sudre everything is as it should be don't be afraid to boot back to you normal system and use chroot. After making the basic system and booting into it to make sure it's ok I then went back to my usual system and installed xorg and xfce from chroot with no problems, rebboted to new LFS installed Nvidia driver and checked everything was fine set up xfce as I wanted it installed and set up firefox and am now back to my normal system to install a load of extra goodies, as long as you check back every so often to make sure your new installation is ok and do any tweaks that can only be done from the booted system ( like the video driver ), you should be ok, also I would take snapshots of your new system before you do anything major ( like installing gnome ) so if something goes VERY wrong you can 'roll back' your install.

spiky0011 03-05-2013 12:25 PM

Hi aashayshah

Have you built lfs on a laptop or pc. A way that it can be done is make your phone a wifi hotspot then connect wireless

aashayshah 03-06-2013 08:56 AM

i built my LFS on PC , with no Bluetooth and no wifi . Everybody knows that we can achieve anything from CLI or bash ... Right ?

How do i connect to internet then ??? how do i communicate with NOKIA C200 ??? How do i tell my phone to Create a connection ???
That also only from bash ???

aashayshah 03-06-2013 08:58 AM

Quote:

Originally Posted by spiky0011 (Post 4905278)
Hi aashayshah

Have you built lfs on a laptop or pc. A way that it can be done is make your phone a wifi hotspot then connect wireless

My phone is not android so it cannot create a hotspot through WIFI.

spiky0011 03-06-2013 11:52 AM

Hi

Not much help I,m afraid, I googled for a solution and found nothing. I have looked through the kernel

device drivers---->
usb support----> there are a few options here (I dont have a nokia phone)

I found USB MODEM

I would make a backup of your kernel config file then maybe have a look at the options in the kernel.

You will need to install NET tools so you can use ifconfig and USB util.

What I did find on net, They mention that you should just be able to plug the phone in no special software.

Maybe someone else can add info to this

I dont think this will be easy sorry

aashayshah 03-06-2013 12:35 PM

Quote:

Originally Posted by spiky0011 (Post 4906117)
Hi
What I did find on net, They mention that you should just be able to plug the phone in no special software.


i would like to mention that i see this when i connect my phone to pc running LFS:

[<Some numbers>] usb 1-1.2: new full-speed USB device numner 3 using ehci_hcd
[<Some numbers>] usb 1.1.2: not running at top speed; connect to a high usb speed hub
[<Some numbers>] usb 1-1.2: New usb device found id-vendor=0421 , id Product=03fa
[<Some numbers>] usb 1-1.2: new device strings Mfr=1, Product=2 , Serial Number=0
[<Some numbers>] usb 1-1.2: Product: C2-00
[<Some numbers>] usb 1-1.2: Manufacturer: Nokia

spiky0011 03-06-2013 12:40 PM

Do you have the phone running as a modem when you connect it? Is that the same output

aashayshah 03-06-2013 12:42 PM

Actually as soon as i connect my phone i see that , after i select Modem option from list which comes in mobile , i see no changes on the screen

spiky0011 03-06-2013 12:52 PM

Have you tried
Code:

ifconfig
you might need to run it as root

aashayshah 03-07-2013 10:00 AM

Can you elaborate more on ifconfig ? What it is ? What it does ?
How do i get it ?

aashayshah 03-07-2013 10:02 AM

Quote:

Originally Posted by spiky0011 (Post 4906143)
Have you tried
Code:

ifconfig
you might need to run it as root

I tried it and bash said Command not found

spiky0011 03-07-2013 10:59 AM

http://www.linuxfromscratch.org/blfs...net-tools.html

ifconfig will give you details about your ip

aashayshah 03-08-2013 10:33 AM

Well , i want to create a connection . Is there any utility that can create a connections ? Mobile Broadband connections , Dial-up connections etc...

manishthatte 07-01-2014 11:29 AM

Mobile Tethering
 
This can provide some help



http://en.wikipedia.org/wiki/Tethering


All times are GMT -5. The time now is 07:50 AM.