LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 03-05-2013, 10:54 AM   #1
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Rep: Reputation: 1
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 .
 
Old 03-05-2013, 11:43 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
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.
 
Old 03-05-2013, 12:25 PM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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
 
Old 03-06-2013, 08:56 AM   #4
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
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 ???
 
Old 03-06-2013, 08:58 AM   #5
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by spiky0011 View Post
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.
 
Old 03-06-2013, 11:52 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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
 
Old 03-06-2013, 12:35 PM   #7
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by spiky0011 View Post
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
 
Old 03-06-2013, 12:40 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Do you have the phone running as a modem when you connect it? Is that the same output
 
Old 03-06-2013, 12:42 PM   #9
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
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
 
Old 03-06-2013, 12:52 PM   #10
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Have you tried
Code:
ifconfig
you might need to run it as root
 
Old 03-07-2013, 10:00 AM   #11
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
Can you elaborate more on ifconfig ? What it is ? What it does ?
How do i get it ?
 
Old 03-07-2013, 10:02 AM   #12
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by spiky0011 View Post
Have you tried
Code:
ifconfig
you might need to run it as root
I tried it and bash said Command not found
 
Old 03-07-2013, 10:59 AM   #13
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

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

ifconfig will give you details about your ip
 
Old 03-08-2013, 10:33 AM   #14
aashayshah
Member
 
Registered: Sep 2012
Location: India
Distribution: Linux Mint 13 (Maya)
Posts: 53

Original Poster
Rep: Reputation: 1
Well , i want to create a connection . Is there any utility that can create a connections ? Mobile Broadband connections , Dial-up connections etc...
 
Old 07-01-2014, 11:29 AM   #15
manishthatte
Member
 
Registered: May 2014
Distribution: Linux from scratch, Ubuntu, Mint, Slackware
Posts: 53

Rep: Reputation: Disabled
Mobile Tethering

This can provide some help



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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager cannot connect to mobile broadband network via ZTE USB modem haeri Slackware 2 10-13-2012 06:09 AM
how to configure MTS MBLAZE Mobile Broadband USB Modem,Model : AC2746 sarmars Linux - Networking 1 08-23-2011 08:04 PM
How to connect to Internet via USB mobile broadband in slack-ware KDE sanjayagayan Linux - Newbie 1 01-25-2011 07:37 AM
ADSL USB Modem / Router connecting ( through USB ) but cannot connect to internet DJ Shaji Linux - Networking 1 03-28-2008 03:24 AM
Connect to internet with USB external modem rssguy Linux - Newbie 5 04-28-2005 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration