[Βοήθεια] Εγκατάσταση madwifi σε Debian

Πριν το βάψεις μπλε και το ρίξεις στη θάλασσα γιατί δεν ρίχνεις μια ματιά εδώ;

Συντονιστές: kostas213, markelos

Απάντηση
Άβαταρ μέλους
O kanenas
Δημοσιεύσεις: 3244
Εγγραφή: Κυρ Νοέμ 05, 2006 3:26 pm
Real Name: Αφροξυλάνθη
Facebook ID: 0
Τοποθεσία: Within search engines that search engines that search
Επικοινωνία:

[Βοήθεια] Εγκατάσταση madwifi σε Debian

Δημοσίευση από O kanenas »

Προσπαθώ να βρω ένα how-to για εγκατάσταση του madwifi σε debian κι έχω βρει πολλά, αλλά όλα προϋποθέτουν σύνδεση στο internet, την οποία δεν έχω (από το debian).

Μπορεί κανείς να βοηθήσει?
Και μην ακούσω τίποτα "Βάλε windows"... :P
R.I.P.
Life is so vain, but death equals pain
So let's make one more attempt and live with nothing to gain
Άβαταρ μέλους
Wizard
Forum Administrator
Forum Administrator
Δημοσιεύσεις: 2624
Εγγραφή: Τετ Νοέμ 01, 2006 8:40 am
Real Name: Μάνος Ικάριος
Gender: Male
Facebook ID: Manos.Ikarios
Τοποθεσία: Παντού!

Re: [Βοήθεια] Εγκατάσταση madwifi σε Debian

Δημοσίευση από Wizard »

Δεν υπάρχει δηλαδή η δυνατότητα σύνδεσης μέσω ethernet?

Μπορείς υποθέτω να το κατεβάσεις από εδώ:
http://sourceforge.net/project/showfile ... _id=576121

και να το κάνεις compile. Απλά ίσως να χρειαστείς το build-essential αν δεν έχεις τους compilers.
Windows is unprotected sex. Linux is using a condom, the pill, a vasectomy, and the Berlin wall...
Άβαταρ μέλους
HeartDoc
Δημοσιεύσεις: 955
Εγγραφή: Σάβ Νοέμ 04, 2006 4:10 am
Real Name: Νίκος Καραστάθης
Gender: Male
Τοποθεσία: Geneva, CH

Re: [Βοήθεια] Εγκατάσταση madwifi σε Debian

Δημοσίευση από HeartDoc »

Ψάξου για σύνδεση μέσω ethernet. Μετά μπορείς να ακολουθήσεις το παρακάτω (το οποίο είναι από το ubuntuforums και αναφέρεται στην wifi card κατασκευασμένη από την Atheros Communications γι' αυτό και το αρχικό μπλα-μπλα)
reasoner έγραψε: Thanks so much to those above for figuring this out for me. Let me spell out the installation in a little more detail to save those after me some time.

I did this on a fresh Ubuntu 8.04 install on a Compaq Presario C770US Laptop with an ethernet cable plugged into my router.

The device string displayed by lspci -v was as follows:

Κώδικας: Επιλογή όλων

01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
	Subsystem: Hewlett-Packard Company Unknown device 137a
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 91300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
First under System/Administration/HarwareDrivers disable both the Atheros HAL and the Atheros wireless thing and then reboot.

The kernel headers and the compiler are needed to build this driver so I started by installing build-essential. In a terminal window (Applications/Accessories/Terminal) enter:

Κώδικας: Επιλογή όλων

sudo apt-get install build-essential
The driver code will be downloaded with the subversion source code manager so I installed subversion:

Κώδικας: Επιλογή όλων

sudo apt-get install subversion
I needed a place to put the driver source without mixing it up with other stuff so I changed directory to my home directory:

Κώδικας: Επιλογή όλων

cd ~
Created a directory:

Κώδικας: Επιλογή όλων

mkdir madwifi
And changed to the new dirctory:

Κώδικας: Επιλογή όλων

cd madwifi
Use subversion to download (checkout) a copy of the code:

Κώδικας: Επιλογή όλων

svn co https://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
The above command failed for me at first because subversion couldn't find svn.madwifi.org
Madwifi will probably have their DNS problems worked out by the time you read this. But if not then see the section at the bottom of this post titled "Cant find svn.madwifi.org" for a solution before continuing.

After the driver code is downloaded by subversion, change to the directory, which should be madwifi-hal-0.10.5.6

Κώδικας: Επιλογή όλων

cd madwifi-hal-0.10.5.6
Run the make script to have the compiler build the driver:

Κώδικας: Επιλογή όλων

make
Install the driver

Κώδικας: Επιλογή όλων

sudo make install
Add the Atheros kernel module to the list of modules to be automatically loaded at boot by adding "ath_pci" (without the quotes) to the end of the /etc/modules file. I used the vi editor which I won't describe here. Gedit is probably easy to use so try:

Κώδικας: Επιλογή όλων

sudo gedit /etc/modules
Now you can reboot and it should work. To get it working without a reboot you need to load the module manually:

Κώδικας: Επιλογή όλων

sudo modprobe ath_pci
That should do it. The little wireless button seems to always stay lit orange. When I press it it seems to disable the wireless but it still stays lit orange. WPA works for me. I assume WEP will also. I haven't tried WPA2



CANT FIND svn.madwifi.org

If subversion has a hard time finding svn.madwifi.org then add it's IP address to your hosts file. I found this page http://madwifi.org/ticket/1982 at madwifi.org that gives the IP address 217.24.1.142 of svn.madwifi.org in one of the last messages. I tried just giving subversion the command to connect to the IP address instead of the domain name, but it failed before finishing the checkout. Edit the file /etc/hosts and add "217.24.1.142 svn.madwifi.org" (without the quotes). I added it just after the 127.0.1.1 line

Κώδικας: Επιλογή όλων

sudo gedit /etc/hosts
Now you can continue with the subversion checkout. You should probably remove this line from your hosts file when you're done with this so that if you want to go back there some day and they've moved it then DNS will give the most recent IP address.

Κι ένα ακόμα καλό :
If you don't know much of compiling generally ( and this case is about compiling a module ) launch apt-get install module-assistant . Than launch it on its own in a terminal window and it prompts you with a list of options . Choose "PREPARE" it is to prepare the system for compiling modules and it downloads for you all kernel headers and compilers you need . It's best if you do this before you launch "make && make install" after the driver download
The day Microsoft makes something that doesn't suck is the day they start making vacuum cleaners.
Άβαταρ μέλους
remilt
Δημοσιεύσεις: 95
Εγγραφή: Δευ Δεκ 11, 2006 1:14 pm
Real Name: Καραμανλής Μίλτος
Gender: Male
Τοποθεσία: Αθήνα

Re: [Βοήθεια] Εγκατάσταση madwifi σε Debian

Δημοσίευση από remilt »

Atheros έχεις ? Μπορείς να δοκιμάσεις και τον ath5k driver είναι ποιό καινούργιος αλλά μπορεί να μήν δουλεύει. Μορεί επίσεις να είναι ήδη εγκαταστημένος αλλά να μήν τον "σηκώνει" αυτόματα το σύστημα, για να κάνεις load to module ath5k εκτέλεσε "modprobe ath5k" και μετά κάνε restart το network. Τώρα για να το κάνει αυτόματα στο boot δεν θυμάμαι αυτή την στιγμή πώς γίνεται είμαι λίγο ερασιτέχνης τι να κάνουμε.... :roll:
Άβαταρ μέλους
O kanenas
Δημοσιεύσεις: 3244
Εγγραφή: Κυρ Νοέμ 05, 2006 3:26 pm
Real Name: Αφροξυλάνθη
Facebook ID: 0
Τοποθεσία: Within search engines that search engines that search
Επικοινωνία:

Re: [Βοήθεια] Εγκατάσταση madwifi σε Debian

Δημοσίευση από O kanenas »

remilt έγραψε:Atheros έχεις ? Μπορείς να δοκιμάσεις και τον ath5k driver είναι ποιό καινούργιος αλλά μπορεί να μήν δουλεύει. Μορεί επίσεις να είναι ήδη εγκαταστημένος αλλά να μήν τον "σηκώνει" αυτόματα το σύστημα, για να κάνεις load to module ath5k εκτέλεσε "modprobe ath5k" και μετά κάνε restart το network. Τώρα για να το κάνει αυτόματα στο boot δεν θυμάμαι αυτή την στιγμή πώς γίνεται είμαι λίγο ερασιτέχνης τι να κάνουμε.... :roll:
Ναι, atheros έχω. Όσα λες, τα έχω δοκιμάσει. Δοκίμασα το ίδιο και με το ath9k, μπας και... αλλά δεν κατάφερα κάτι παραπάνω (για να μην πω ότι ήταν χειρότερα...).

Για ethernet δύσκολο το κόβω... Έψαχνα κάποιο how-to που να μην προϋποθέτει σύνδεση στο internet. Ο router βρίσκεται στον από-κάτω όροφο, οπότε μάλλον θα μεταφέρω το pc.

Ευχαριστώ, πάντως, για τις απαντήσεις :)
R.I.P.
Life is so vain, but death equals pain
So let's make one more attempt and live with nothing to gain
Απάντηση

Επιστροφή στο “Υπολογιστές - Εφαρμογές - Internet”