Ebrahim,

 A couple of things to look at;

1.  Do you have a default GW assigned (typically your router)?  /sbin/route -n  look for some IP and the letters GW.
2.  Can you ping 192.168.1.1?  If so the network card is working
3.  Then check /etc/resolv.conf for a nameserver entry. It will be the DNS from you isp and should look like nameserver xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx is the IP address of the DNS.

good luck
bart
"The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast; 
the chicken was 'involved,' the pig was 'committed.'" -- Unknown

Bart Reagan - President
Moonrise Ridge Consulting, Inc.
DVBE/Small Business Certified
http://www.moonriseridge.com
530-676-1734


Ebrahim Mayat wrote:
Dear list

I setup my internal AirPort Extreme wireless card using the "script" shown below. I am, however, unable to send/receive e-mail or bring up web pages. Some details and diagnostics: 

# modprobe ieee80211softmac

# modprobe bcm43xx

# ifconfig eth1 up

# ip link set eth1 up

# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:11:24:a2:d2:5d
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:10 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:52 Base address:0x8000

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:1593 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1593 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1973874 (1.8 MiB)  TX bytes:1973874 (1.8 MiB)

# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Warning: Driver for device eth1 has been compiled with version 20
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
          Mode:Managed  Frequency=2.437 GHz  Access Point: FF:FF:FF:FF:FF:FF
          Bit Rate:11 Mb/s   Tx-Power=15 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.

# iwconfig eth1 essid Myessid

# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Warning: Driver for device eth1 has been compiled with version 20
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      IEEE 802.11b/g  ESSID:"Myessid"  Nickname:"Broadcom 4306"
          Mode:Managed  Frequency=2.462 GHz  Access Point: 00:11:24:a2:d2:5d
          Bit Rate:11 Mb/s   Tx-Power=15 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off

[EMAIL PROTECTED] ~]# ip link show eth1
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:11:24:a2:d2:5d brd ff:ff:ff:ff:ff:ff

# iwlist eth1 scan
Warning: Driver for device eth1 has been compiled with version 20
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      Scan completed :
          Cell 01 - Address: 00:11:24:a2:d2:5d
                    ESSID:"Myessid"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:11
                    Encryption key:off
                    Bit Rate:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                    Quality=100/100  Signal level=-144 dBm
                    Extra: Last beacon: 43ms ago
          Cell 02 - Address: 00:11:24:45:66:2e
                    ESSID:"neighbouressid"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:11
                    Encryption key:off
                    Bit Rate:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 9 11 6 12 18 24 36 48 54
                    Quality=100/100  Signal level=-203 dBm
                    Extra: Last beacon: 29ms ago
          Link Quality=100/100  Signal level=2/3  Noise level=185/100
          Rx invalid nwid:0  Rx invalid crypt:33  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.

Then to bring up the network:

# dhclient
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

/sbin/dhclient-script: configuration for eth1 not found. Continuing with defaults.
/etc/sysconfig/network-scripts/network-functions: line 46: eth1: No such file or directory
Listening on LPF/eth1/00:11:24:a2:d2:5d
Sending on   LPF/eth1/00:11:24:a2:d2:5d
Listening on LPF/eth0/00:11:24:45:66:2e
Sending on   LPF/eth0/00:11:24:45:66:2e
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
/sbin/dhclient-script: configuration for eth1 not found. Continuing with defaults.
/etc/sysconfig/network-scripts/network-functions: line 46: eth1: No such file or directory
bound to 192.168.1.104 -- renewal in 41822 seconds.
[EMAIL PROTECTED] ~]#

The KWiFiManager application shows green bars for the signal strength with the following parameter values:

Interface eth1
Connection Speed:---------------->11
Signal strength: 100
Connected to Network: Home
Access Point: 00:11:24:45:66:2e
Local IP: 192.168.1.104
Frequency[channel]: 2.462[11]

Two questions concerning the setup of my Linux WiFi connection:

Q1: If I prepare a bash script of the command sequence above, where do I place the script in order to automatically activate my W-Fi connection at startup?
Q2: I cannot bring up a webpage in Firefox. I get a "Server not found" error. Why?

Comment:  I cannot log out after this. I was obliged to disconnect the laptop battery in order to reboot.

Any ideas on why the wireless connection is still not working. Thanks in advance.
E

_______________________________________________ yellowdog-newbie mailing list [email protected] http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
_______________________________________________
yellowdog-newbie mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie

Reply via email to