LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-25-2009, 10:57 PM   #1
ollickle
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Angry mandriva - wlan does not reconnect if server stops for a while. Have to reinstall ma


Using Mandriva latest. Compaq Presario cq60

Mandriva detects home network on installation and all is lovely.
When network went down for a while the network could not be found.
Have rebooted many times, tried everything etc etc.
Now reinstalled Mandriva and all is fine again am online again.

Mighty peeved that Linux is so flakey! Any ideas on

How to turn it on again without having to reinstall Mandrake.

btw Ubuntu OpenSuse Fedora Solaris even all fail to detect my wireless network! Mandriva does, but..
 
Old 02-27-2009, 09:19 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,990

Rep: Reputation: 274Reputation: 274Reputation: 274
There is no reason to re-install to get back online with Mandriva, or any other distro that is properly installed.

Mandy has many tools to determine status, as does wireless tools. What is lacking is your skill, I'm not saying that to be nasty, it just that it is a learned skill. Re-install is a windoze type approach.

From the command line try these commands when things are working. Then you will start to learn what is there when things work, and when things fail, you can start to have some idea what isn't working.

I post the commands in single quotes, like this, 'command'. Type only what is between the quotes.

'/sbin/ifconfig' will will list information about the status of your configured interfaces. It will output the names of each interface. If you have a single card, you will see at least two listings. example

Quote:
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:7D:20:F4:67
inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2188 errors:0 dropped:0 overruns:0 frame:0
TX packets:2539 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1336159 (1.2 MiB) TX bytes:302929 (295.8 KiB)
Interrupt:20 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:401 errors:0 dropped:0 overruns:0 frame:0
TX packets:401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27830 (27.1 KiB) TX bytes:27830 (27.1 KiB)
This is from a wired ethernet card, it will look similar from a wireless card.

'/sbin/iwconfig' this command will list the status of the wireless interface. I'm not on my lappy right now. Try it, you should see things like "ESSID" which comes from the wireless access point you are connected to.

You can activate and deactivate the interface, once you know the name. 'ifup eth0' and 'ifdown eth0' would activate and deactivate the interface eth0.

Open up MCC ( Mandriva Control Center ). There is a section called Networking and Internet. Go there, you will see the Network Center. Open it, you can display the wireless interface(s) there, monitor and re-configure if necessary. You can see if data is being sent and received.

When you need more information, you can install a package called Nmap. It allows you to trace data being sent and received. This is an advanced tool, any for most users in never needed.

Try these things out, post your questions, and don't ever re-install to fix a problem like this.

Hope this helps.
 
Old 02-27-2009, 07:54 PM   #3
ollickle
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
How right you are indeed, I have tried all you suggested and am delving further.
This is a quick reply to thank you for putting me on the path.
Reminds me of the fun days of dos a long time ago incidentally and cpm before that even..

Cheers, Davin
 
Old 02-28-2009, 07:38 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,990

Rep: Reputation: 274Reputation: 274Reputation: 274
Glad I could help. Do not hesitate to ask, if you need more guidance. ( long time mandy user... )
 
Old 03-14-2009, 06:13 PM   #5
ollickle
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Since my beginners luck just ran out I lost the wifi connection again. Tried Mandriva Network Center /Wireless and Apple Network showed up.
Clicked on Connect and noting happened or happens.... still waiting.


Now following previous kind assistance I tried ifup wlan0 and got "command not found"

So query is - which directory should I be in for this command to work?
From [me@localhost /]$ prompt I tried find ifdown and got " no such file or directory"

So I tried man ifdown and lots of stuff.

So if the man page for ifdown exists but the command ifdown doesn't ( using find ) then whats up doc ?


There is a barrage of helpful stuff available but I can't find a simple oversight of directory structures and where is what etc.

( Found something called Wireless connection which appeared after a right click on the Network icon, same thing but eventually the connection was made,
there has to be a first time for everything )
 
Old 03-15-2009, 06:09 AM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,990

Rep: Reputation: 274Reputation: 274Reputation: 274
Quote:
So query is - which directory should I be in for this command to work?
From [me@localhost /]$ prompt I tried find ifdown and got " no such file or directory"
This command usually needs root privileges, so on the command prompt, 'su' and enter, you will be prompted for the root password, enter it, and run the command. To answer the question, where is this command... and a lot of others...

Quote:
locate ifup
/etc/sysconfig/network-scripts/ifup
/etc/sysconfig/network-scripts/ifup-aliases
/etc/sysconfig/network-scripts/ifup-bnep
/etc/sysconfig/network-scripts/ifup-eth
/etc/sysconfig/network-scripts/ifup-hso
/etc/sysconfig/network-scripts/ifup-ippp
/etc/sysconfig/network-scripts/ifup-ipv6
/etc/sysconfig/network-scripts/ifup-ipx
/etc/sysconfig/network-scripts/ifup-isdn
/etc/sysconfig/network-scripts/ifup-plip
/etc/sysconfig/network-scripts/ifup-plusb
/etc/sysconfig/network-scripts/ifup-post
/etc/sysconfig/network-scripts/ifup-ppp
/etc/sysconfig/network-scripts/ifup-routes
/etc/sysconfig/network-scripts/ifup-sit
/etc/sysconfig/network-scripts/ifup-sl
/etc/sysconfig/network-scripts/ifup-tunnel
/etc/sysconfig/network-scripts/ifup-wireless
/etc/sysconfig/network-scripts/ifup.d
/etc/sysconfig/network-scripts/ifup.d/netprofile
/etc/sysconfig/network-scripts/ifup.d/vpn
 
Old 03-15-2009, 07:04 PM   #7
ollickle
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
oh dear, forgot to be root!

Thanks for your help Cliff.

Current bother is trying to activate IDLE for python in Mandriva.
I have it running fine in Win XP and in Mac OSX but can't find it in Mandriva.

Any ideas maybe?
 
Old 03-16-2009, 05:49 AM   #8
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,990

Rep: Reputation: 274Reputation: 274Reputation: 274
Quote:
Current bother is trying to activate IDLE for python in Mandriva
Sorry, can't help with that. Not much experience with python.
 
  


Reply

Tags
file, system


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wlan traffic stops Juhis Linux - Wireless Networking 0 09-04-2006 02:49 PM
Mandriva 2006 - eth0 hangs during boot; then fails; have to reconnect manually JBailey742 Linux - Software 11 04-01-2006 02:51 PM
Stops (crash) in all 3D games on Free mandriva 06 kurtt Linux - Hardware 4 01-29-2006 09:47 AM
wlan stops working when using nfs/ssh/smb brewer Linux - Wireless Networking 4 11-09-2003 01:41 PM
WLAN, automatic reconnect metallex Linux - Wireless Networking 3 09-29-2003 01:43 AM


All times are GMT -5. The time now is 02:17 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration