Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED]Howto install wireless-tools w/o internet connection

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
aduplat
Posts: 29
Joined: 2009-12-09 16:47
Location: Iowa City, IA, USA

[SOLVED]Howto install wireless-tools w/o internet connection

#1 Post by aduplat »

Hello:

My old laptop just have wireless not a cable.
I already know that my Ethernet controller is: Realtek RTL8180L 802.11b MA. I also know that it is supported.
http://wiki.debian.org/rtl818x

I just need to follow this instructions:

Code: Select all

# aptitude update && aptitude install wireless-tools
and then

Code: Select all

# modprobe rtl8180
But the question is, if I don't have an Internet connection right now, how can I install those wireless-tools.

Thanks,
Last edited by aduplat on 2009-12-12 18:17, edited 1 time in total.

User avatar
bluesdog
Posts: 2077
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada
Been thanked: 1 time

Re: How to install wireless-tools without internet connection

#2 Post by bluesdog »

If you don't have an internet connection, how are you posting on the forum?

:?:


Seriously, you can download the debian packages on another Debianized computer, save 'em to removable media such as a flash drive or cd, then install it on the target computer using dpkg.

command to use:

Code: Select all

aptitude install -d wireless-tools
The 'd' switch forces aptitude to download only.

The package, and dependents, would be located in /var/apt/cache/archives which initially likely contains a number of packages you won't need, so you could either:
  • 1. first run apt-get clean on the host computer, or
    2. rename the folder, then create a new, temporary /var/apt/cache/archive folder to temporarily contain wireless-tools etc.
If you choose the former, once aptitude has finished the task, copy contents of /var/apt/cache/archives to a removable media.
If you choose the latter method, once you've copied the contents to a removable media, delete the temporary /var/apt/cache/archives, and restore the original by renaming it once more.

Install on target computer with command

Code: Select all

dpkg -i *.deb
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*

aduplat
Posts: 29
Joined: 2009-12-09 16:47
Location: Iowa City, IA, USA

Re: How to install wireless-tools without internet connection

#3 Post by aduplat »

Mr. Bluesdog, thank's so much.

Ok. But right now I have another issue. My computer doesn't mount the pendrive.

I tried to follow these suggestions:
Assume the pendrive is /dev/sda1 and you want to mount it at /media/pendrive, then you should be able to mount it as a priveleged user with

Code: Select all

mount /dev/sda1 /media/pendrive
But it didn't work. Right now my computer is working just in CLI mode. You already are helping me with this problem.
----------
I was thinking to re-install Debian using a DVD because, I think that I will have more tools to work with.
Do you agree?
---------
By the way:
I have another laptop with Ubuntu 9.10.

Thanks,

User avatar
bluesdog
Posts: 2077
Joined: 2006-02-01 09:02
Location: Similkameen, British Columbia, Canada
Been thanked: 1 time

Re: How to install wireless-tools without internet connection

#4 Post by bluesdog »

Was there an error message resulting from the failed mount command?

eg>

Code: Select all

mount: you must specify the filesystem type
Also, did you specifically make a mountpoint?

eg, as root:

Code: Select all

mkdir /media/pendrive
Then:

Code: Select all

mount -t vfat /dev/sdb1 /media/pendrive

Assuming the system has designated it as /dev/sdb1, and it is formatted vfat, as is usual with pendrives, that should work.

~~~

As to re-installing from DVD, you may try that as a last resort, but I'm generally reluctant to do a reinstall unless the system is completely borked. Just a matter of principle, I suppose..

You can probably install wireless-tools from the DVD, instead of using the pendrive. Try

Code: Select all

mount /media/cdrom
Then navigate to /pool/main/w/wireless-tools

~~~

Ubuntu is a fine distro, but please resist any temptation to mix any Ubuntu packages with Debian! :shock:
Tips & Tricks

Something more to read while waiting

If you obviously have not read THIS, don't expect too much...




*winter bluesdog....*

Post Reply