LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2014, 04:53 PM   #1
jppicard
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Rep: Reputation: Disabled
ifconfig interface flag RUNNING is not set


Hello,

I'm trying to install OLSRD on some Intel Galileo's. Somewhere in the progress it says:
Code:
Checking wlan0:
    Interface not up & running - skipping it...
Checking ifconfig I see that it says "UP", but I can't seem to figure out why my wlan0-interface isn't "RUNNING". Most solutions on the internet mention something about checking your cables and such (because they have issues with a wired Ethernet connection) but that's of no importance for my wireless interface. Could anyone be of any help?

I have an Intel Centrino Advanced-N 6235 plugged in, which is working (I can ping other devices with it). Other information that might be useful are given below.

TLDR: How do I get my wireless interface to be "RUNNING"?

Code:
root@un:~# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 0c:d2:32:3e:22:42  
          inet6 addr: fd00::10/64 Scope:Global
          inet6 addr: fe80::ed3:92ff:fe3e:2042/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1526 (1.4 KiB)  TX bytes:1828 (1.7 KiB)
Code:
root@un:~# iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:"EXAMPLE ESSID"  
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 46:CA:FA:F5:F2:68  
          Tx-Power=15 dBm  
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
Code:
root@un:~# cat /etc/network/interfaces
# The loopback interface
auto lo
iface lo inet loopback
iface lo inet6 loopback

# Wired interfaces
auto eth0
iface eth0 inet static
        address 192.168.2.2
        netmask 255.255.255.0
        broadcast 192.168.2.255
        gateway 192.168.2.1
        network 192.168.2.0

# Wireless interfaces
auto wlan0
iface wlan0 inet6 static
        pre-up modprobe ipv6
        address fd00::10
        netmask 64
Code:
Linux clanton 3.8.7-yocto-standard i586 GNU/Linux
Code:
root@un:~# ping6 fd00::11
PING fd00::11(fd00::11) 56 data bytes
64 bytes from fd00::11: icmp_seq=1 ttl=64 time=11.3 ms
64 bytes from fd00::11: icmp_seq=2 ttl=64 time=4.36 ms
64 bytes from fd00::11: icmp_seq=3 ttl=64 time=5.56 ms
 
Old 04-13-2014, 07:51 AM   #2
jppicard
LQ Newbie
 
Registered: Apr 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
I adjusted /etc/network/interfaces to be the following, which solved the issue!

Code:
# The loopback interface
auto lo
iface lo inet loopback
iface lo inet6 loopback

# Wired interfaces
auto eth0
iface eth0 inet static
        address 192.168.2.10
        netmask 255.255.255.0
        broadcast 192.168.2.255
        gateway 192.168.2.1
        network 192.168.2.0

# Wireless interfaces
auto wlan0
iface wlan0 inet6 static
        pre-up modprobe ipv6
        address fd00::10
        netmask 64
        wpa-driver wext
        wpa-conf /etc/wpa_supplicant.conf
It now shows the "RUNNING" flag in ifconfig.

Code:
wlan0     Link encap:Ethernet  HWaddr 0c:d2:92:3e:20:42  
          inet6 addr: fd00::10/64 Scope:Global
          inet6 addr: fe80::ed2:92ff:fe3e:2042/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:12824 (12.5 KiB)

Last edited by jppicard; 04-13-2014 at 07:52 AM. Reason: added red color for visibility
 
  


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
MII status of one bonding virtual interface is down however ifconfig show its running zwli Linux - Networking 1 05-27-2012 09:54 PM
wlan0: ERROR while getting interface flag: No such device suranga1976 Linux - Newbie 1 04-13-2012 12:49 AM
Ifconfig eth1 down unsetting and setting the running flag on the other side. bharathslip9 Linux - Newbie 3 05-31-2011 11:56 PM
Necessary to set a boot flag? alfredo10 Linux - General 2 01-24-2011 12:11 PM
Set optimization Flag -o3 amarg Programming 2 09-18-2010 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:26 AM.

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