Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old May 8th, 2008   #1
AlanB66
Just Give Me the Beans!
 
AlanB66's Avatar
 
Join Date: Mar 2008
Location: Florida
Beans: 76
Ubuntu 8.04 Hardy Heron
How To: Ubuntu 8.04 i386 on Compaq F750US

This is a how-to with regards to the long-threaded post "So has anybody successfully installed Ubuntu or Kubuntu on a Compaq F700 #f750us ?"

What you'll need:
* Compaq F750US
* Ubuntu 8.04 i386 ISO burned to CD (do NOT use AMD64 unless you have patience to iron other things out)

What versions are covered:
* Ubuntu 8.04 Kernel 2.6.24-16-generic
* NDisWrapper 1.52

What you'll have:
At the end of these steps, you will have a Ubuntu installation that:
  • Has wired and wireless LAN access
  • Has the Wireless LAN supporting non-broadcasting SSID's
  • Has the i386 OS to support Canon MP520 (for MX700) drivers
  • Has the capability for other i386 apps that are otherwise hard to come by in AMD64-bit mode

Steps:
  1. Download and Burn CD for i386 Ubuntu 8.04

  2. Install from CD

  3. Reboot

  4. Open Hardware Manger
    1. Enable Nvidia Display adapter
    2. DISABLE HAL & Atheros Wireless

  5. Open linux-restricted-modules-common:
    1. sudo gedit /etc/default/linux-restricted-modules-common )
    2. Disable both ath_hal and ath_pci ( DISABLE_MODULES="ath_hal ath_pci" )

  6. Reboot

  7. Run Update Manager and update EVERYTHING
    1. Run "Software Sources" Manager and uncheck/re-check "Universe". During "close" allow "Reload" of sources.
    2. Run Update Manager, kick of a "Check", and now all updates are now available to download/install.

  8. Using Firefox, download to /tmp:
    1. xp32-5.3.0.56-whql.zip (available here: http://www.atheros.cz/download.php?atheros=AR5007EG&system=1)
    2. ndiswrapper-1.52.tar.gz (available here: http://sourceforge.net/project/showfiles.php?group_id=93482&package_id=99148&rele ase_id=573476)

  9. Unravel packages
    1. cd /tmp
    2. unzip xp32-5.3.0.56-whql.zip
    3. tar xvfz ndiswrapper-1.52.tar.gz

  10. Get "Make" capabilities updated:
    1. sudo apt-get update && sudo aptitude install build-essential
    2. sudo apt-get install subversion



    (Picking up from Step #4 on http://ubuntuforums.org/showpost.php...8&postcount=86 ...)

  11. Make and Install ndiswrapper
    1. cd /tmp/ndiswrapper-1.52
    2. sudo make all
    3. sudo make install

  12. Do NOT Update /etc/network/interfaces with these lines:
    auto eth0
    iface eth0 inet dhcp

    auto wlan0
    iface wlan0 inet dhcp

  13. Install xp32-5.3.0.56-whql drivers
    1. cd /tmp
    2. sudo ndiswrapper -i net5211.inf
    3. sudo ndiswrapper -l (see item was installed)

  14. Load ndiswrapper and check if it worked.
    1. sudo modprobe ndiswrapper
    2. sudo dmesg (shows that the card is installed (hopefully))

  15. Do NOT run "ndiswrapper -m"



    At this point, you should be able to use the Network Manager to configure your connection.

  16. Enable ndiswrapper at startup:
    1. sudo gedit /etc/init.d/ndiswrapper
    2. add these lines:
      #!/bin/sh
      PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"

      case "$1" in
      start)
      modprobe ndiswrapper
      ;;

      *)
      echo "Usage: /etc/init.d/ndiswrapper {start}"
      exit 1
      ;;
      esac

      exit 0
    3. sudo chmod 755 /etc/init.d/ndiswrapper
    4. Create link in /etc/rc2.d/S41ndiswrapper --> /etc/init.d/ndiswrapper: sudo ln -s /etc/init.d/ndiswrapper /etc/rc2.d/S41ndiswrapper
    5. Reboot and see if you get on wireless automatically

(Resubmitted from archived post http://ubuntuforums.org/showthread.php?t=749481)

Last edited by AlanB66; May 12th, 2008 at 12:05 PM..
AlanB66 is offline   Reply With Quote
Old May 16th, 2008   #2
OmniDistortion
5 Cups of Ubuntu
 
Join Date: Nov 2005
Beans: 18
Re: How To: Ubuntu 8.04 i386 on Compaq F750US

It works, but does not load automatically at start-up. That doesn't seem to work.

Edit:
Quote:
start)
And this was just now fixed by simply putting an open parenthesis where there is a closed. Here it should be "start(" instead.

Last edited by OmniDistortion; May 16th, 2008 at 08:14 AM..
OmniDistortion is offline   Reply With Quote
Old May 16th, 2008   #3
AlanB66
Just Give Me the Beans!
 
AlanB66's Avatar
 
Join Date: Mar 2008
Location: Florida
Beans: 76
Ubuntu 8.04 Hardy Heron
Re: How To: Ubuntu 8.04 i386 on Compaq F750US

Not sure why it's working for you now, but that is not correct syntax.

What is not auto-loading?

Are you unplugging your wired LAN connection before reboot? For some reason, the system cannot handle both and having the wired LAN plugged in will block the Wireless from working.

Let me know.
AlanB66 is offline   Reply With Quote
Old May 17th, 2008   #4
OmniDistortion
5 Cups of Ubuntu
 
Join Date: Nov 2005
Beans: 18
Re: How To: Ubuntu 8.04 i386 on Compaq F750US

Quote:
Originally Posted by AlanB66 View Post
Not sure why it's working for you now, but that is not correct syntax.

What is not auto-loading?

Are you unplugging your wired LAN connection before reboot? For some reason, the system cannot handle both and having the wired LAN plugged in will block the Wireless from working.

Let me know.
That's all I changed to get it to work, honest! I'm clueless beyond that if it's not proper.
OmniDistortion is offline   Reply With Quote
Old May 17th, 2008   #5
AlanB66
Just Give Me the Beans!
 
AlanB66's Avatar
 
Join Date: Mar 2008
Location: Florida
Beans: 76
Ubuntu 8.04 Hardy Heron
Re: How To: Ubuntu 8.04 i386 on Compaq F750US

Quote:
Originally Posted by OmniDistortion View Post
That's all I changed to get it to work, honest! I'm clueless beyond that if it's not proper.
Well, I can tell you for absolute 100% certainty, that syntax is incorrect.

"Case" is a simplified "IF" statement in Unix scripting. Rather than righting a comparison IF-THEN-ELSE-ELSE-ELSE-ELSE-ENDIF, Case gives a list of options of which to compare and then runs the lines associated with the comparison that matches.

So, in this situation, "Case" is comparing the first argument to "start". If the first argument is not "start", then the fallback is anything else (thus, *, the wildcard). And, all it does if it's anything else is merely exit.

Please do the following and submit the results:
1. ls -l /etc/init.d/ndiswrapper
2. ls -l /etc/rc2.d/ndiswrapper

Thanks.
AlanB66 is offline   Reply With Quote
Old May 25th, 2008   #6
smokiemac
First Cup of Ubuntu
 
Join Date: May 2008
Beans: 4
Ubuntu 8.04 Hardy Heron
Re: How To: Ubuntu 8.04 i386 on Compaq F750US

Thanks for this, saved me a lot of headaches!!! You rock! also the auto-start listed here didnt work for me either but all i did was:

gedit /etc/modules
and added ndiswrapper

after that all was perfect, that maybe a little easier for more noobish people like myself too.
smokiemac is offline   Reply With Quote
Old June 8th, 2008   #7
braveerudite
Gee! These Aren't Roasted!
 
braveerudite's Avatar
 
Join Date: Apr 2005
Location: Arecibo, Puerto Rico
Beans: 211
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to braveerudite
Exclamation Re: How To: Ubuntu 8.04 i386 on Compaq F750US

Here is the answer to all your prayers. Finally!!! a super simple method that will works 100% with Ubuntu 8.04 “Hardy Heron” 64bit and Atheros AR2425 (AR5007EG) chipset. No more the need ndiswrapper or even Wi-Fi Radar and WICD to get secure (WPA2,WEP) connection working. You can just keep the default Ubuntu wired and wireless network manager because now it just works with no problem.

Make sure you go to System ->Administration ->Hardware Drivers and disable Atheros (HAL) & Atheros support and reboot before you follow the steps on the guide. At the end of the guide you'll see that it will ask you to re-enable them again and reboot.

http://ubuntuforums.org/showthread.php?t=816780

Thank the guy that posted the guide last night by clicking on his Gold star with a blue ribbon on the right.
__________________
Ubuntu 8.04 Hardy Heron (AMD64)
Compaq Presario F756NR
braveerudite is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:48 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry