LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-04-2013, 09:43 AM   #1
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Rep: Reputation: 1
problem in installing tools and patches on ubuntu


Wifi on my ubuntu doesnt work . So i gotta download tools from some other source and install on my ubuntu. So how am i supposed to do this? Intructions in LFS book shows how to install tools from linux directly . How am i supposed to do it now?
Please forgive if question is too lame im new to linux :-)
 
Old 12-04-2013, 10:02 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
can you paste these commands into a terminal and copy the output into your next post:
Code:
echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n
it should help someone determine what wifi card you have and if there is extra software you would need to install. do you have access to the internet via ethernet ? are there any switches that need to be toggled on the keyboard to enable the wifi (my laptop has a physical button as well as a fn+f10 key combo that would disable wifi) ?
 
Old 12-04-2013, 10:03 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Which WiFi chipset is it?
Do you have a wired connection on the machine you can use to install the wireless drivers and firmware or will you have to move them over from another machine using a USB stick or similar?
There are some wireless chipsets that need a lot more work than others, and not having another way to connect to the internet will complicate things, but sometimes it's a simple as installing the drivers from the proprietary drivers tab on software sources and drivers.
 
Old 12-04-2013, 10:19 AM   #4
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
Isnt there any way where i could download these stuff and install on my ubuntu using USB ? . Actually i do not have fast internet at my home but at my university so i could just download it from there and bring it through pen drive.
 
Old 12-04-2013, 10:29 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
There is but it is more difficult.
First you need to find out which card you have, you can do this by typing "lspci" (without the quotes) in the terminal.
Edit: I missed schneidz's post -- that's the information you need.

Last edited by 273; 12-04-2013 at 10:30 AM.
 
Old 12-04-2013, 10:53 AM   #6
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
the output of schneidz's post is :
lfs@naruto-laptop:~$ echo uname : && uname -a -m -p && echo lspci : && lspci && echo lsub : && lsub && echo lsmod : && lsmod && echo ifconfig : && ifconfig && ifconfig -a : && echo iwconfig : && iwconfig && echo resolv.config: && cat /etc/resolv.conf && route -n
uname :
Linux naruto-laptop 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lspci :
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
06:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
08:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:06.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:06.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
 
Old 12-04-2013, 11:00 AM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
^ seems incomplete (also, use code tags).

this is your wifi card:
google(04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01))[1] = http://askubuntu.com/questions/21926...n-ubuntu-12-10



the rest of the information mite give a better explanation why its not connecting.

Last edited by schneidz; 12-04-2013 at 11:27 AM.
 
Old 12-04-2013, 11:25 AM   #8
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
sorry.. i messed up with the code.. here goes the correct one

Code:
 naruto@naruto-laptop:~$ echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n
uname:
Linux naruto-laptop 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
lspci:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
06:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
08:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:06.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:06.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
lsusb:
Bus 002 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd USB 2.0 Camera
Bus 003 Device 002: ID 0a5c:2101 Broadcom Corp. BCM2045 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsmod:
Module                  Size  Used by
btusb                  22474  0 
parport_pc             28152  0 
ppdev                  17073  0 
rfcomm                 42641  0 
bnep                   18036  2 
bluetooth             228619  12 bnep,btusb,rfcomm
snd_hda_codec_si3054    13008  1 
snd_hda_codec_realtek    78399  1 
joydev                 17377  0 
uvcvideo               80847  0 
videobuf2_vmalloc      13056  1 uvcvideo
videobuf2_memops       13202  1 videobuf2_vmalloc
videobuf2_core         40513  1 uvcvideo
videodev              129260  2 uvcvideo,videobuf2_core
coretemp               13355  0 
ideapad_laptop         18394  0 
sparse_keymap          13890  1 ideapad_laptop
snd_hda_intel          39619  3 
snd_hda_codec         136453  3 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm                97451  3 snd_hda_codec_si3054,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30180  1 snd_seq_midi
snd_seq                61554  2 snd_seq_midi_event,snd_seq_midi
r852                   18241  0 
sm_common              16860  1 r852
nand                   58949  2 r852,sm_common
nand_ecc               13273  1 nand
nand_bch               13147  1 nand
r592                   18019  0 
bch                    17434  1 nand_bch
nand_ids               12723  1 nand
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
b43                   378642  0 
bcma                   41051  1 b43
mac80211              606457  1 b43
wmi                    19070  0 
memstick               16554  1 r592
snd_timer              29425  2 snd_pcm,snd_seq
mac_hid                13205  0 
cfg80211              510937  2 b43,mac80211
mtd                    45202  2 nand,sm_common
i915                  600351  3 
snd                    68876  16 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
video                  19390  1 i915
drm_kms_helper         49394  1 i915
lpc_ich                17061  0 
drm                   286313  4 i915,drm_kms_helper
microcode              22881  0 
psmouse                95870  0 
serio_raw              13215  0 
soundcore              12680  1 snd
i2c_algo_bit           13413  1 i915
lp                     17759  0 
parport                46345  3 lp,ppdev,parport_pc
firewire_ohci          40103  0 
sdhci_pci              18590  0 
firewire_core          64508  1 firewire_ohci
sdhci                  32522  1 sdhci_pci
crc_itu_t              12707  1 firewire_core
tg3                   153796  0 
ptp                    18621  1 tg3
pps_core               14080  1 ptp
ssb                    56748  1 b43
ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:1e:ec:62:3c:4f  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2496 (2.4 KB)  TX bytes:2496 (2.4 KB)

ifconfig -a:
eth0      Link encap:Ethernet  HWaddr 00:1e:ec:62:3c:4f  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2496 (2.4 KB)  TX bytes:2496 (2.4 KB)

iwconfig:
eth0      no wireless extensions.

lo        no wireless extensions.

resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface




echo

Last edited by mayur_; 12-04-2013 at 11:27 AM.
 
Old 12-04-2013, 11:29 AM   #9
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
i have a toggle switch to turn WiFi on and off.. despite turning it on it doesnt show up at all
 
Old 12-04-2013, 11:35 AM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
this mite be a solution but it requires internet access:
Code:
    sudo apt-get install linux-headers-generic
    sudo apt-get install --reinstall bcmwl-kernel-source
    sudo modprobe wl
 
Old 12-04-2013, 11:40 AM   #11
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
hmmm... i might try getting a wired net connection for my laptop anyway thanks for the help!.
i'll repost on this thread tomorrow..anyway just curious to know... right now im at chapter 5 installing tools for LFS..what am i going to come up with next after installing all tools? are these tools gonna do all work for us? do i have to do some coding? im pretty good at C , C++ ,JAVa and C#
 
Old 12-04-2013, 11:54 AM   #12
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
This page has detailed instructions how to get Broadcom wireless working in Ubuntu when there is no internet connection:

https://help.ubuntu.com/community/Wi...Driver/bcm43xx
 
Old 12-04-2013, 12:32 PM   #13
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by mayur_

...right now im at chapter 5 installing tools for LFS..what am i going to come up with next after installing all tools?
The basic idea for LFS is to build the final system using brand new compiling tools and utilities that are not linked to or dependent upon anything in the host system. Those "brand new" compiling tools and utilities are the toolchain created in chapter 5 of the LFS book. So starting with chapter 6, the new compilers, assemblers, linkers, libraries, and so on in the new toolchain are used to build the packages of the final system, and host system is only needed to provide a running kernel.

P.S.: This wireless stuff being discussed here is all well and good for your Ubuntu system. Carry on with that if you wish. But if you can get the 50 or 60 LFS tarballs in your /sources directory by any of various means, then you can begin working on the LFS steps. You could, for example, download and verify them on another computer and transfer them to the LFS computer using a flash drive.
 
Old 12-04-2013, 09:28 PM   #14
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
Quote:
But if you can get the 50 or 60 LFS tarballs in your /sources directory by any of various means, then you can begin working on the LFS steps. You could, for example, download and verify them on another computer and transfer them to the LFS computer using a flash drive.
But the earlier guy said that it will be complicated if you get it from flash drive. Is it easy? Can you explain how? Because it is very convinient for me to download those tools from my university they got good download speed. I can easily get them through flash drive

Last edited by mayur_; 12-04-2013 at 09:30 PM.
 
Old 12-08-2013, 02:26 AM   #15
mayur_
Member
 
Registered: Dec 2013
Location: Pune, India
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 1
thanks guys the problem is solved. Thank you guys for help it wouldnt have been possible without you
Thanks again! Have a great day
Mayur~

Last edited by mayur_; 12-08-2013 at 06:22 AM.
 
  


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
linux 6.0 vmware tools installing problem mohammed2013 Linux - Newbie 1 05-29-2013 11:47 AM
Problem installing VMWare Tools in Debian shahgols Debian 3 01-02-2013 12:02 PM
installing CDAT (Climate Data Analysis Tools) on ubuntu (9.04) bybuntu Linux - Newbie 5 10-07-2009 02:46 AM
Problem with cdrom drive and mount after installing patches for game... Shade Linux - General 7 07-11-2003 01:25 AM
problem installing module-init-tools Hcman Linux - Software 1 06-10-2003 02:07 PM

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

All times are GMT -5. The time now is 05:40 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