Jump to content

ifup eth2 (wireless card)


Recommended Posts

Hi everyone! I have a good news as well as bad news. I have been struggling to find a nice guide to make intel wireless drivers work on a toshiba satellite centrino laptop and finally I have been able to install and configure them. But now the problem is that when I type ifup eth2(my wirless card), it tries to determine an ip address for some seconds but then fails everytime. So, technically I am still living on the same island of problem. When I type iwlist scan, I get a list of all the access points in range but my laptop deosnt connect by default to anyone ( as someo of them don't require a key). I wanted to confirm if I have to enter the key (or password) in Hex format. I have already enetered it in hex form. Please help me with this and help me end my week long struggle...I will also post the guide I have which has error free drivers and firmware...Also, please let me know if mandrake 10.1 (community version) has some functionality like connecting to wireles through graphical mode as it is in windows.

Edited by veeral
Link to comment
Share on other sites

:help::help::help::wall:

 

Hi all. As it can be read from the topic's title, I can't get an IP address and after a little work I have been able to find out that the network is always down even though I type ifup eth2 ( my wireless ). I am pasting everything that can help you to understand what's wrong in my configuration. I read somehwre on this forum that one has to change the DNS address in some file which has the default address of the router. I don't know what that means and how I find out the new address. I also remember some ipv6 problem which was mentiotned by some expert in response to similar ifup eth2 not working problem in this forum. I am new to linux and I really don't know how to go about all this. I really need to have wirless in my laptop for my research work. Please help me. I am pasting the outputs of various commnads as the following:

 

[root@localhost hostname.d]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

eth2      unassociated  ESSID:"APT 215"  Nickname:"localhost"
         Mode:Managed  Channel=0  Access Point: 00:09:5B:FB:FA:EA
         Bit Rate=0kb/s   Tx-Power=20 dBm
         RTS thr:off   Fragment thr:off
         Encryption key:6669-6E69-7368-6564-0000-0000-00   Security mode:open
         Power Management: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:62   Missed beacon:0

sit0      no wireless extensions.

 

[root@localhost hostname.d]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0E:7B:43:FB:18
         inet6 addr: fe80::20e:7bff:fe43:fb18/64 Scope:Link
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:0 (0.0 B)  TX bytes:29448 (28.7 Kb)
         Interrupt:11

eth2      Link encap:Ethernet  HWaddr 00:0E:35:0A:D1:97
         inet6 addr: fe80::20e:35ff:fe0a:d197/64 Scope:Link
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:9 errors:0 dropped:62 overruns:0 frame:0
         TX packets:6 errors:0 dropped:0 overruns:0 carrier:2
         collisions:0 txqueuelen:1000
         RX bytes:540 (540.0 B)  TX bytes:684 (684.0 B)
         Interrupt:11 Base address:0x2000 Memory:c2005000-c2005fff

lo        Link encap:Local Loopback
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:250 errors:0 dropped:0 overruns:0 frame:0
         TX packets:250 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:43226 (42.2 Kb)  TX bytes:43226 (42.2 Kb)

 

[root@localhost log]# iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Interface doesn't support scanning.

eth2      Scan completed :

   Cell 04 - Address: 00:12:17:44:90:95
                   ESSID:"linksys"
                   Protocol:IEEE 802.11b
                   Mode:Master
                   Channel:8
                   Encryption key:off
                   Bit Rate:11Mb/s
                   Extra: Rates (Mb/s): 1 2 5.5 11
                   Extra: RSSI: -62  dBm
                   Extra: Last beacon: 51ms ago
         Cell 05 - Address: 00:09:5B:FB:FA:EA
                   ESSID:"APT 215"
                   Protocol:IEEE 802.11g
                   Mode:Master
                   Channel:11
                   Encryption key:on
                   Bit Rate:54Mb/s
                   Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                   Extra: RSSI: -46  dBm
                   Extra: Last beacon: 1ms ago

 

[root@localhost log]# service -s      
Modules Loaded:
               Nothing
acpid (pid 12293) is running...
Sound loaded
atd (pid 12257) is running...
crond (pid 12600) is running...
dm is stopped
Harddrake service was run at boot timeINPUT status for kernel:  Linux 2.6.8.1-10mdk i686

INPUT devices:
I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0 event0
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event1

INPUT handlers:
N: Number=0 Name=kbd
N: Number=1 Name=mousedev Minor=32
N: Number=2 Name=evdev Minor=64

PCI Status for kernel:  Linux 2.6.8.1-10mdk i686

PCI up; bus count is 3

USB Status for kernel:  Linux 2.6.8.1-10mdk i686

USB up; bus count is 2
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8.1-10mdk ehci_hcd
S:  Product=EHCI Host Controller
Usage: lsmod
open: No such file or directory
Cannot open master raw device '/dev/rawctl' (No such file or directory)
S:  SerialNumber=0000:00:1d.7
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8.1-10mdk uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.1
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.8.1-10mdk uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.0
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

USB Drivers Loaded:
driverloader
hiddev
hub
usb
usbfs
usbhid
usblp
usbmouse

khubd/hotplug thread:
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
1 S     0   826     1  0  75   0 -     0 hub_th ?        00:00:00 khubd

Module                  Size  Used by
toshiba_acpi            4660  0
thermal                 9928  0
tc1100-wmi              5028  0
processor              13736  1 thermal
fan                     2756  0
button                  4624  0
battery                 7044  0
ac                      3204  0
ppdev                   7620  0
usblp                  10592  0
usbmouse                4256  0
arc4                    1440  1
ieee80211_crypt_wep     3552  1
nfsd                  189408  0
exportfs                4736  1 nfsd
lockd                  58344  1 nfsd
sunrpc                127652  2 nfsd,lockd
md5                     3584  1
ipv6                  230916  14
snd-seq-oss            31232  0
snd-seq-midi-event      6080  1 snd-seq-oss
snd-seq                47440  4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss            49480  0
snd-mixer-oss          17376  1 snd-pcm-oss
snd-intel8x0           30124  1
snd-ac97-codec         69392  1 snd-intel8x0
snd-pcm                81800  2 snd-pcm-oss,snd-intel8x0
snd-timer              20356  2 snd-seq,snd-pcm
snd-page-alloc          7400  2 snd-intel8x0,snd-pcm
gameport                3328  1 snd-intel8x0
snd-mpu401-uart         5856  1 snd-intel8x0
snd-rawmidi            19300  1 snd-mpu401-uart
snd-seq-device          6344  3 snd-seq-oss,snd-seq,snd-rawmidi
snd                    45988  13 snd-seq-oss,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-time
r,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore               7008  1 snd
driverloader          324624  0
af_packet              16072  21
usbhid                 41088  0
ds                     17572  2
yenta_socket           18624  0
pcmcia_core            59972  2 ds,yenta_socket
pcmcia_core            59972  2 ds,yenta_socket
ipw2200               115404  0
firmware_class          7232  1 ipw2200
ieee80211              27524  1 ipw2200
ieee80211_crypt         3780  2 ieee80211_crypt_wep,ieee80211
eth1394                17000  0
eepro100               26316  0
mii                     4224  1 eepro100
ppa                    10408  0
parport_pc             30976  0
imm                    10856  0
scsi_mod              104044  2 ppa,imm
parport                33896  4 ppdev,ppa,parport_pc,imm
ide-cd                 37280  0
cdrom                  37724  1 ide-cd
ohci1394               30788  0
ieee1394              292056  2 eth1394,ohci1394
loop                   12520  0
nls_cp850               4480  2
vfat                   11008  2
fat                    39776  1 vfat
nls_iso8859-1           3680  3
ntfs                  147964  1
intel-agp              19584  1
agpgart                27752  1 intel-agp
evdev                   7648  0
ehci-hcd               26244  0
uhci-hcd               28752  0
usbcore               103172  8 usblp,usbmouse,driverloader,usbhid,ehci-hcd,uhci-hcd
genrtc                  7444  0
ext3                  120680  2
jbd                    49080  1 ext3

Apache is running.
httpd2: 12946 12945 12944 12943 12942 12934

ext3                  120680  2
jbd                    49080  1 ext3

Apache is running.
httpd2: 12946 12945 12944 12943 12942 12934

Use /etc/init.d/httpd extendedstatus for more information.

No status available for this package
dbus-daemon-1 (pid 12226 6610) is running...
netplugd is stopped
Configured devices:
lo eth0 eth2
Currently active devices:
lo eth0 eth2
rpc.mountd is stopped
nfsd is stopped
lockd is stopped
rpc.statd is stopped
oki4daemon is stopped
partmon has been startedcardmgr (pid 2845) is running...
portmap (pid 12010) is running...
master (pid 4185) is running...
postmaster (pid 4246 4245 4241) is running...
proftpd (pid 12569) is running...
routed is stopped
smbd is stopped
nmbd dead but pid file exists
Sound loaded
sshd (pid 12321) is running...
syslogd (pid 9971) is running...
klogd (pid 9979) is running...
udev is running                                                 [  OK  ]
USB Loaded.
xfs (pid 3675) is running...
xinetd (pid 12352) is running...

 

[root@localhost log]# dhclient
.
.
.
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for eth1 not found.
Network down.

Link to comment
Share on other sites

i guess i can connect to Access Points which do not have any kind of encryption key involved. as i noticed it shows that i was connected to a free network but i couldn't open any page in mozilla. the signal strength was 40/100. but i want to get connected to my n/w which has wpa encryption and tkip protocol. as soon as i switch to this n/w i get disconnected and then never connect to any n/w. are there different settings for wpa encryption? please let me know...

Link to comment
Share on other sites

You need the wpa_supplicant package installed, and a fair following wind (the WPA support in 2005's drakconnect was hacked in at a late date and is rather kludgy). As root, run 'wpa_cli', type 'status', and tell me what you see. For reference, when it's working, it should look like this, roughly:

 

Selected interface 'wlan0'

 

Interactive mode

 

> status

bssid=00:04:e2:b2:d0:12

ssid=SMC

pairwise_cipher=TKIP

group_cipher=TKIP

key_mgmt=WPA-PSK

wpa_state=COMPLETED

Supplicant PAE state=AUTHENTICATED

suppPortStatus=Authorized

EAP state=SUCCESS

>

Link to comment
Share on other sites

i installed the mandriva 2005 limited edition and while configuring the wireless it did ask me wif i wanted wpa enabled and i clisked on yes. I configured my wireless through ndiswrapper which is an inbuilt facility in this version. But i don't know what to do after that with ndiswrapper. i also installed the ipw2200 drivers and the firmware and hotplugging and all after which it should have atleast shown me the available wireless networks, but in this version, it doesn't. it did show me the wireless networks in mandrake 10.1 community version and it also got connected to the one which did not have encryption. but now, in this version it is a different story. someone suggested to install wpa_supplicant package which i don't know how to. i downloaded the package but i don't know what should be the content of .config file. i tried making a .config file after reading the readme file but it doesn't work. i would rather prefer to connect wireless through the installation of ipw2200, which i have already done but it doesn't show or detect any network. when i do dhclient, it just keeps on saying dhcpdiscover but finally ends up not having any dhcp offers. please help and guide me in the right direction. lots of thanks.

Link to comment
Share on other sites

update: i have got wpa_supplicant working, but when i type wpa_cli, it says it is unable to connect to wpa_supplicant. one more thing, even if i change the essid through iwconfig wlan0 essid, it doesn't change it. the essid always remains "off/any". this happens with ndiwrapper as well as ipw2200.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...