Skip to first unread message

Kazz

unread,
Jun 6, 2014, 9:09:17 AM6/6/14
to beagl...@googlegroups.com
Hi all
On beaglebone black, I'm using Ubuntu 14.04 prebuilt image.

I have a problem.

I tried to connect with wifi.
I edited /etc/network/interfaces.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
# iface eth0 inet static
# address 192.168.12.111
# netmask 255.255.255.0
# gateway 192.168.12.1

auto wlan0
iface wlan0 inet static
address 192.168.12.101
netmask 255.255.255.0
gateway 192.168.12.1
wpa-ssid "wifi1"
wpa-psk "password"

dns-nameservers 192.168.12.1


in the state that does not connect the eht0,
If eth0 is dhcp , wlan0 can connect.
If eth0 is staic , wlan0 not be able to connect.

What is solution?

Thank you.

William Hermans

unread,
Jun 6, 2014, 11:17:04 AM6/6/14
to beagl...@googlegroups.com
Ubuntu I believe uses a different network manager. connman or some such program. I could not say which for sure as I have not used Ubuntu for a very long time. However, you should be able to use google.

try googling -----> Ubuntu 14.04 how to static ip


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jun 6, 2014, 11:19:39 AM6/6/14
to beagl...@googlegroups.com
errrr . . . its before my morning "coffee". But problem may still be google-able, and may very well still have to do with the network manager.

konrad....@gmail.com

unread,
Jun 6, 2014, 3:48:12 PM6/6/14
to beagl...@googlegroups.com
I have similar problems with Debian console image.For me if eth0 is down, wlan0 can't initialize correctly. Try change auto wlan0  to allow-hotplug wlan0.

Message has been deleted
Message has been deleted

Kazz

unread,
Jun 7, 2014, 9:43:30 AM6/7/14
to beagl...@googlegroups.com
Thank you for your suggestion
Also, I'm sorry reply late.
So I am not native English, I takes time to write.



>Ubuntu I believe uses a different network manager
I am aware network maneger is used in GUI environment, and, should not be used on the server without a GUI
Am I wrong?



>Try change auto wlan0  to allow-hotplug wlan0.
I changed
# auto wlan0
allow-hotplug wlan0

After that, I started wlan0
ifup wlan0

Message is displayed
RTNETLINK answers: File exists
Failed to bring up wlan0

wlan0 had started.
ifconfig
wlan0 Link encap: Ethernet HWaddr dc: fb: 02:59:1 d: 4e
          inet addr: 192.168.12.101 Bcast: 192.168.12.255 Mask: 255.255.255.0
          inet6 addr: fe80 :: defb: 2ff: fe59: 1d4e/64 Scope: Link
          UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
          RX packets: 1115 errors: 0 dropped: 0 overruns: 0 frame: 0
          TX packets: 33 errors: 0 dropped: 0 overruns: 0 carrier: 0
          collisions: 0 txqueuelen: 1000
          RX bytes: 163039 (163.0 KB) TX bytes: 6373 (6.3 KB)

However, like the previous, wifi unable to communicate. ping unreachable

Reply all
Reply to author
Forward
0 new messages