wireless connection with fluxbox via commands


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users wireless connection with fluxbox via commands
# 1  
Old 01-05-2011
wireless connection via commands ,,, I'm stuck

Hi,
By default I use all gnome stuff (gdm+metacity+...) and my connection works well.
I wanted to try fluxbox. So I've just changed my window manger. And under fluxbox, wireless isn't managed automatically like with gnome.
So I tried to set it up manually ... but I can't make my wireless connection work via commands :s

The easy way would be to launch the gnome network manager application:
Code:
nm-applet&

and my connection works ... so I don't think the trouble comes from the driver.

But via commands I'm stuck.
here is what I've done :
Code:
iwconfig wlan0 key open
iwconfig wlan0 essid "NEUF_595C"
dhclient wlan0

according to my iwconfig output I think it's alright
Code:
$ iwconfig wlan0

wlan0     IEEE 802.11abg  ESSID:"NEUF_595C"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off


--------------EDIT---------------
Ups ... I've not noticed that I hadn't access point >< ... very strange ...
So I've tried to force it :
Code:
iwconfig wlan0 ap 00:17:33:57:59:60


but the iwconfig output stays the same :/ .... access point still not associated ...damned...
-------------- END OF EDIT---------------


Code:
$ ifconfig wlan0 192.168.1.65/24
$ route add default gw 192.168.1.1

$ ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr 00:22:fa:b1:8d:34  
          inet addr:192.168.1.65  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::222:faff:feb1:8d34/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:77604 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72358 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:47801933 (47.8 MB)  TX bytes:15536430 (15.5 MB)

But I still can't ping :/
I'm stuck and doesn't understand why ... some help would be very welcome Smilie thx

Last edited by xib.be; 01-05-2011 at 05:48 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Hardware

Wireless connection to printer

I need to connect old PPC G5 running OSX 10.5.8 to Epson Stylus 1400 printer, wiring is very difficult, so I need to find out what are my wireless options. Printer has only USB input. The printing includes graphics and text from Adobe as well as a special graphics application, which is the reason... (6 Replies)
Discussion started by: migurus
6 Replies

2. Shell Programming and Scripting

Run Shell Commands after creating MYSQL Connection

Hi, I am trying to make a Shell Script using which I will update around 10K records in MySQL db each night. For that, I am currently doing the following command in FOR LOOP: mysql -D $MASTER_DB_NAME -h $MASTER_DB_HOST -u $MASTER_DB_USER -p$MASTER_DB_PASSWD -e "$SQL_Query" This command is... (2 Replies)
Discussion started by: rahulmittal87
2 Replies

3. Linux

wireless connection problem

Hi everyone, I am new to linux. I have installed ubuntu and I am booting together with window. But I have a problem of wireless connection in ubuntu. If I start booting using ubuntu no wireless networks become available. If I first open window and restart it and open ubuntu then only I can get... (2 Replies)
Discussion started by: nishrestha
2 Replies

4. Emergency UNIX and Linux Support

Don't have wireless connection any more ..

Hello, Please help me because I'm stuck. I am using Fedora 16 on my notebook Fujitsu A6025. It was working fine for days and then suddenly I lost wireless connection , I can't enable 'ON' option in Network configuration (it looks like disabled) and I don't see any wireless network around me (... (10 Replies)
Discussion started by: susja
10 Replies

5. Slackware

FluxBox: Can't add to menu

Have problem with the menu in FluxBox on SlackWare 13.1 on my desktop. I simply can't add things to the menu, on my Laptop I do as follows: Open a terminal, type emacs ~/.fluxbox/menu Then I add or remove the things I want to add or remove. But on my desktop I can remove things, but I... (2 Replies)
Discussion started by: looop
2 Replies

6. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

7. UNIX for Advanced & Expert Users

tunneling commands and file transfers through established ssh connection

Hi - I frequently run commands, and transfer files to/from a host that uses SecurID ssh authentication. It is a real pain to have to enter the authentication information every time I want to interact with this host. I am wondering if there is a way to establish a one-time ssh connection to this... (2 Replies)
Discussion started by: cpp6f
2 Replies

8. UNIX Desktop Questions & Answers

fluxbox

I have a problem witch my fluxbox, I can't configurie my keys. I wrote : Mod1 Tab :NextWindow Mod1 F1 :Workspace 1 Mod1 F2 :Workspace 2 Mod1 F3 :Workspace 3 Mod1 F4 :Workspace 4 and I can't use F1 , F2 ... any suggestion ?? thx cU (2 Replies)
Discussion started by: kezzol
2 Replies

9. IP Networking

wireless connection

Hi Having a problem getting the Orinoco silver to work on Redhat 7.3. (new full install) On install it worked - sometimes - but I had to manually set the default gateway to the wireless instead of the 10/100 ethernet card. Most often I had to restart pcmcia to get it going properly. Now its... (4 Replies)
Discussion started by: caveman_piet
4 Replies
Login or Register to Ask a Question