LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2004, 10:35 AM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Failed to bring up wlan0


Here's a session of me that does not seem to help get my card up.

root@0[~]# ndiswrapper -i /mnt/hdc1/etc/ndiswrapper/sspciv27/sspciv27.inf
root@0[~]# ndiswrapper -m
root@0[~]# wlcardconfig
root@0[~]# ifup eth0


It did once, I got it working with WEP and everything, but then when I did ifdown wlan0 and then re-did wlancardconfig to set it up as ad-hoc, it has yet to come back up, even when I revert it back to the way it was when I had it working.

Now, it just sits forever during ifup wlan0 then gives me an error.
root@0[~]# ifup wlan0
Operation failed.
Failed to bring up wlan0.

During the point when it is 'sitting there' I can type ifconfig and I'll see it with the following settings:

wlan0 Link encap:Ethernet HWaddr 00:02D:33:6C:57
inet6 addr: fe80::202:ddff:fe33:6c57/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:12352 (12.0 KiB)
Interrupt:10 Memory:df000000-df001fff

However, when it says operation failed, it will disappear from ifconfig.


When I type ndiswrapper -l I get this:
ndiswrapper -l
Installed ndis drivers:
sspciv27 hardware NOT present


Does anything seem to be wrong with my configuration? Also, why don't I get an inet addr in wlan0 when I run ifconfig?

Any help would be great!

(not sure if this is a hardware or software problem, but it seems to be a software config issue, so I posted in software forum)

Last edited by jon_k; 12-26-2004 at 10:40 AM.
 
Old 12-26-2004, 11:20 AM   #2
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
I got it working after a lot of work.

Now, for some reason with both eth0 and wlan0 up, I can ping my local network router, however if I try to ping somebody like google.com, I don't get any replies.

How can I get the internet to be able to reach my computer with 2 netcards enabled?
 
Old 12-31-2004, 05:56 PM   #3
msmales
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 5

Rep: Reputation: 0
I suppose it is common sense to have just one network card enabled at a time. Also, I had exactly the same problem as you so I fixed it about an hour ago..... here goes like this:..

While you may be able to ping your router but not www.google.com using your wireless card, try issuing a "route", if you notice that the last line does not have a gateway ip address and does not reference the wlan0 interface try this...

Code:
route add default gateway <ip address of you router or access point>
# in my case the router's ip address is 192.168.0.1, but it might be something like 10.0.0.1 on your setup

* If you still can't get onto the internet (but you can ping your router) see if the file /etc/resolv.conf exists, if not then you won't be able to resolve ip addresses, make a resolv.conf like so...

#Become root
Code:
su -
Code:
<type in root password>
#Check you can ping you router, the ip address will vary on different routers, but it's generally either 192.168.0.1 or 10.0.0.1
Code:
ping 192.168.0.1
#Use your favourite text editor to make /etc/resolv.conf
Code:
vi /etc/resolv.conf
#insert the following line into /etc/resolv.conf
Code:
nameserver 192.168.0.1
#You should now be able to ping stuff on the internet, try going somewhere in a browser too
Code:
ping www.google.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hostap doesnt bring up wlan0 chuck2 Linux - Wireless Networking 2 10-29-2005 02:58 PM
Cannot bring up wlan0 device JayBox Linux - Wireless Networking 6 05-31-2005 03:59 PM
Bring 'up' wlan0 Haon Linux - Wireless Networking 1 02-21-2004 04:29 PM
failed to bring eth0 up k_brother Linux - Newbie 2 10-17-2003 10:30 AM
Failed to bring eth0 up amphibious Linux - Newbie 1 09-25-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration