LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless internet on a Toshiba Satelite a70 w/atheros card. (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-internet-on-a-toshiba-satelite-a70-w-atheros-card-335804/)

simeandrews 06-21-2005 01:06 PM

Wireless internet on a Toshiba Satelite a70 w/atheros card.
 
I recently installed Fedora Core 4 on my Toshiba Satellite a70-ML1 laptop. In order to install wireless network support, I was told to do this (note that these are instructions for gentoo, not fedora 4)

Quote:

Wireless Setup
After I finished the install I added net-wireless/madwifi-driver ~x86 to /etc/portage/package.keywords so that I could install the masked madwifi drivers for my atheros wifi adapter built in to the laptop. To setup the wireless nic do the following.
emerge madwifi-driver
emerge wireless-tools
cp /etc/init.d/net.eth0 /etc/init.d/net.ath0
modprobe ath_hal
modprobe ath_pci
modprobe wlan
echo "ath_hal" >> /etc/modules.autoload.d/kernel-2.6
echo "ath_pci" >> /etc/modules.autoload.d/kernel-2.6
echo "wlan" >> /etc/modules.autoload.d/kernel-2.6


To use the wireless adapter do
iwconfig ath0 essid any
iwconfig ath0 key off
iwconfig ath0 channel 6
/etc/init.d/net.ath0 start


substitute your appropriate settings as needed.

now add the net.ath0 init script to your startup
rc-update add net.ath0 default
also you will need to modify /etc/conf.d/net and add lines for ath0 like you edited for etho during the installation.
If you plan to use the wireless nic exclusively then you might want to remove eth0 from your startup.
rc-update del net.etho default

Next be sure to emerge hotplug and coldplug they will load needed modules automatically.
Can someone make sense of this? I was lost by the first line. I need to know what I need to download, and how to run it. I have set up wireless internet on a computer before, but I used ndiswrapper, this seems nothing like it.

kaz2100 06-21-2005 05:59 PM

#1. You need madwifi package. I am not sure if you have installed it. If not, you can find it http://madwifi.sourceforge.net

#2. You need to install wireless-tools package. Again, I am not sure if you have installed it.

#3. Then, depending on your directory configuration, you want or do not want to follow
Code:

cp /etc/init.d/net.eth0 /etc/init.d/net.ath0
(I do not know anything about Gentoo and FC.)

I am using atheros on my Toshiba laptop.

Check #1 and #2 and come back here.

flystar06 06-21-2005 11:23 PM

go here ... i had the same questions not too long ago ... and they were answered ... i hope that thread helps ... reply if it doesn't

simeandrews 06-22-2005 05:54 AM

Quote:

Most people can just type:

trouble% make

at the top level to build all the modules for the system where you
are building.
1. trouble% make does nothing.

2. where is the top level?

simeandrews 06-22-2005 02:38 PM

Sorry, didn't notice the message there. I installed the rpm packages for fc4, and everything went great, but according to Fedora, I have wireless-tools installed, yet ifconfig, iwconfig, iwlist don't do anything. I created the file that I was told to on the other post linked in the post earlier, but nothing happened, and when I restarted, fedora didnt detect any new hardware. I don't think I got the right wireless channel in my file either, could someone give me an example of what should be there?

simeandrews 06-22-2005 08:32 PM

OK, another update, and another question.

I got madwifi installed from source, and fedora can pick up my card now. I also figured out that I need to use the fedora network manager, which is a graphical version of wireless tools, I think. So, I set up ath0, and when I try to connect, I get the following error:

Quote:

Error for wireless request "Set Bit Rate" (8B20) :
SET failed on device ath0 ; Invalid argument.
Error for wireless request "Set Encode" (8B2A) :
SET failed on device ath0 ; Invalid argument.

Determining IP information for ath0...ping: icmp open socket: Permission denied
failed.

So, what's wrong?

kaz2100 06-22-2005 08:49 PM

You successfully installed packages. :)

What happens when you
Code:

ifconfig
?

This is the starting point.

EDIT
This is not GUI. command line.

simeandrews 06-22-2005 09:07 PM

[simon@simons ~]$ ifconfig
bash: ifconfig: command not found
[simon@simons ~]$

I think fedora is trying to erase command line use, or my install screwed up, but everything else works, so I doubt it.

kaz2100 06-22-2005 09:21 PM

Auch, /sbin/ifconfig or log in as root.

This part, you are using FC, I have Slackware and Debian. All I know stis on command line. :)

simeandrews 06-22-2005 09:28 PM

Thanks, I'll add a link or something to those in ~/.bin or ~/bin or something so it's easier next time. Anyway,

eth0 Link encap:Ethernet HWaddr 00:0F:B0:5B:FE:AD
inet addr:192.168.1.205 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b0ff:fe5b:fead/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:672 errors:0 dropped:0 overruns:0 frame:0
TX packets:668 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:410045 (400.4 KiB) TX bytes:90232 (88.1 KiB)
Interrupt:201 Base address:0xa000

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:16436 Metric:1
RX packets:1631 errors:0 dropped:0 overruns:0 frame:0
TX packets:1631 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1522214 (1.4 MiB) TX bytes:1522214 (1.4 MiB)

is the outcome of ifconfig.

kaz2100 06-22-2005 09:36 PM

Code:

ifconfig ath0 up
and see what happens. If ifconfig complains that ath0 is non-existant. Please refer
http://www.linuxquestions.org/questi...hreadid=336177

(This thread is still going.) Then post whatever informative thing.

If ifconfig goes well,
Code:

iwconfig ath0 essid any
iwlist ath0 scanning

Once these look good, you will set up either static IP or dhcp. This part is distro dependant. (I cannot help much)

If wrong, post informative things here. :)

kaz2100 06-22-2005 09:41 PM

I appreciate if you follow the link
http://www.linuxquestions.org/questi...hreadid=336177
and give any suggestion opinion whatever as a member of Penguin community.
You use Mandaravia also. :)

simeandrews 06-22-2005 09:59 PM

Thanks very much, kaz2100, after playing with iwconfig and ifconfig for a while, I pulled the ethernet plug from the back of my computer, and I don't think it worked, but a few minutes later, I thought I'd check up on my post, and forgot to plug my network back in, and it worked (I didn't notice at the time). So I followed some of the instructions on the other page, I went to unplug ethernet, and it wasn't plugged in. I set it to start up automatically when I boot up my system, and I'm hoping it won't screw up when I do. So, that's my story, and I don't remember how I did it.

kaz2100 06-22-2005 10:08 PM

:)
;)
:p

Basically,
1. turn on interface, (ifconfig ath0 up, or ifup........)
2. configure wireless (id, passwd.....)
3. DHCP or static IP.

you can find somewhere in /etc/init.d or /etrc/rc.d, depending your configure, you modify as necessary.

Have fun

simeandrews 06-22-2005 10:11 PM

I just figured out how I did it, I ran /sbin/dhclient. Is there a way to turn that on when the computer starts?

I know we've had an IM type thing going on, but its 1:00, so I'm going to bed.


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