Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-17 Thread Gary Servin Cardozo
Hi Robert,

just wanted to comment that I had an issue with the ping executable using 
the 2014/11/11 jessie image on a BBB A5C:

ping: icmp open socket: Operation not permitted


I've solved using

sudo chmod u+s `which ping`


I'm not sure this was only an issue for my installation,

Regards,

On Saturday, November 15, 2014 8:07:21 AM UTC-3, Jason Lange wrote:

 ...Here's another option I needed to add to dnsmasq.conf:

 dhcp-option=3

 this stops dnsmasq from handing out a default route and screwing up your 
 connection to the internet.

 On Fri, Nov 14, 2014 at 11:11 PM, Jason Lange j.b@gmail.com 
 javascript: wrote:

 Hi Robert,
 withThis worked for me:

 /etc/dnsmasq.conf
 #disable DNS by setting port to 0
 port=0

 interface=usb0
 dhcp-range=192.168.7.1,192.168.7.1
 #one address range


 /etc/network/interfaces

 auto lo
 iface lo inet loopback

 allow-hotplug eth0
 iface eth0 inet dhcp

 allow-hotplug usb0
 iface usb0 inet static
 address 192.168.7.2
 netmask 255.255.255.0
 network 192.168.7.0
 gateway 192.168.7.1



 I'm using your 2014/11/11 jessie image and after I did an apt-get 
 update/upgrade I lost the ability to connect with ssh. removing udhcpd and 
 adding the above configuration for dnsmasq restored my ability to connect 
 via ssh on both interfaces.




 On Thu, Nov 13, 2014 at 4:06 PM, Robert Nelson robert...@gmail.com 
 javascript: wrote:

  Sure, as long as we can configure dnsmasq to do the work of udhcpd,
  i'm all for it.. ;)

 https://wiki.debian.org/HowTo/dnsmasq

 /etc/dnsmasq.conf

 dhcp-range=usb0,192.168.7.1,192.168.7.3,12h

 look sane?

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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 javascript:.
 For more options, visit https://groups.google.com/d/optout.





-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-15 Thread Jason Lange
...Here's another option I needed to add to dnsmasq.conf:

dhcp-option=3

this stops dnsmasq from handing out a default route and screwing up your
connection to the internet.

On Fri, Nov 14, 2014 at 11:11 PM, Jason Lange j.b.la...@gmail.com wrote:

 Hi Robert,
 withThis worked for me:

 /etc/dnsmasq.conf
 #disable DNS by setting port to 0
 port=0

 interface=usb0
 dhcp-range=192.168.7.1,192.168.7.1
 #one address range


 /etc/network/interfaces

 auto lo
 iface lo inet loopback

 allow-hotplug eth0
 iface eth0 inet dhcp

 allow-hotplug usb0
 iface usb0 inet static
 address 192.168.7.2
 netmask 255.255.255.0
 network 192.168.7.0
 gateway 192.168.7.1



 I'm using your 2014/11/11 jessie image and after I did an apt-get
 update/upgrade I lost the ability to connect with ssh. removing udhcpd and
 adding the above configuration for dnsmasq restored my ability to connect
 via ssh on both interfaces.




 On Thu, Nov 13, 2014 at 4:06 PM, Robert Nelson robertcnel...@gmail.com
 wrote:

  Sure, as long as we can configure dnsmasq to do the work of udhcpd,
  i'm all for it.. ;)

 https://wiki.debian.org/HowTo/dnsmasq

 /etc/dnsmasq.conf

 dhcp-range=usb0,192.168.7.1,192.168.7.3,12h

 look sane?

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-14 Thread Jason Lange
Hi Robert,
withThis worked for me:

/etc/dnsmasq.conf
#disable DNS by setting port to 0
port=0

interface=usb0
dhcp-range=192.168.7.1,192.168.7.1
#one address range


/etc/network/interfaces

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug usb0
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
gateway 192.168.7.1



I'm using your 2014/11/11 jessie image and after I did an apt-get
update/upgrade I lost the ability to connect with ssh. removing udhcpd and
adding the above configuration for dnsmasq restored my ability to connect
via ssh on both interfaces.




On Thu, Nov 13, 2014 at 4:06 PM, Robert Nelson robertcnel...@gmail.com
wrote:

  Sure, as long as we can configure dnsmasq to do the work of udhcpd,
  i'm all for it.. ;)

 https://wiki.debian.org/HowTo/dnsmasq

 /etc/dnsmasq.conf

 dhcp-range=usb0,192.168.7.1,192.168.7.3,12h

 look sane?

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: debian testing: 2014-11-11

2014-11-13 Thread Graham
Robert:

Upon loading 
BBB-eMMC-flasher-debian-jessie-lxqt-armhf-2014-11-11-2gb.img

onto two different BeagleBone Blacks, RevC, two different microSD cards,
image is untouched, unmodified, 

both present the same failures...
as monitored on TTYO0

=
[   14.438279] libphy: PHY 4a101000.mdio:01 not found
[   14.443321] net eth0: phy 4a101000.mdio:01 not found on slave 1
[FAILED] Failed to start dnsmasq - A lightweight DHCP and caching DNS 
server.
See 'systemctl status dnsmasq.service' for details.
[DEPEND] Dependency failed for Host and Network Name Lookups.
[  OK  ] Started Login Service.
 Starting Bluetooth service...
[  OK  ] Reached target Sound Card.
 Starting Light Display Manager...
 Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
 Starting Serial Getty on ttyO0...
[  OK  ] Started Serial Getty on ttyO0.
[  OK  ] Started Bluetooth service.
 Starting Hostname Service...
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
[  OK  ] Started Light Display Manager.
[  OK  ] Created slice user-1000.slice.
 Starting User Manager for UID 1000...
[  OK  ] Started User Manager for UID 1000.


=

Upon installing  linux-image-3.8.13-bone67 
a similar no start for dnsmasq

root@BBB3:~# systemctl -l status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
   └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: failed (Result: exit-code) since Wed 2014-11-12 02:44:08 UTC; 
16min ago
  Process: 321 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf 
(code=exited, status=0/SUCCESS)
  Process: 302 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, 
status=2)
  Process: 256 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, 
status=0/SUCCESS)
 Main PID: 302 (code=exited, status=2)

Nov 12 02:44:06 beaglebone dnsmasq[256]: dnsmasq: syntax check OK.
Nov 12 02:44:07 beaglebone dnsmasq[302]: dnsmasq: failed to create 
listening socket for port 53: Address already in use
Nov 12 02:44:07 beaglebone dnsmasq[302]: failed to create listening socket 
for port 53: Address already in use
Nov 12 02:44:07 beaglebone systemd[1]: dnsmasq.service: main process 
exited, code=exited, status=2/INVALIDARGUMENT
Nov 12 02:44:08 beaglebone systemd[1]: Failed to start dnsmasq - A 
lightweight DHCP and caching DNS server.
Nov 12 02:44:08 beaglebone systemd[1]: Unit dnsmasq.service entered failed 
state.
root@BBB3:~#


=

--- Graham

==

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-13 Thread Robert Nelson
On Thu, Nov 13, 2014 at 3:49 PM, Graham gra...@flex-radio.com wrote:
 Robert:

 Upon loading
 BBB-eMMC-flasher-debian-jessie-lxqt-armhf-2014-11-11-2gb.img

 onto two different BeagleBone Blacks, RevC, two different microSD cards,
 image is untouched, unmodified,

 both present the same failures...
 as monitored on TTYO0

 =
 [   14.438279] libphy: PHY 4a101000.mdio:01 not found
 [   14.443321] net eth0: phy 4a101000.mdio:01 not found on slave 1
 [FAILED] Failed to start dnsmasq - A lightweight DHCP and caching DNS
 server.
 See 'systemctl status dnsmasq.service' for details.
 [DEPEND] Dependency failed for Host and Network Name Lookups.

Thanks for testing!  I'm pretty sure this is because we also have
udchpd on the image, both dhcp damon's are fighting for the socket..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-13 Thread Robert Nelson
On Thu, Nov 13, 2014 at 3:54 PM, Robert Nelson robertcnel...@gmail.com wrote:
 On Thu, Nov 13, 2014 at 3:49 PM, Graham gra...@flex-radio.com wrote:
 Robert:

 Upon loading
 BBB-eMMC-flasher-debian-jessie-lxqt-armhf-2014-11-11-2gb.img

 onto two different BeagleBone Blacks, RevC, two different microSD cards,
 image is untouched, unmodified,

 both present the same failures...
 as monitored on TTYO0

 =
 [   14.438279] libphy: PHY 4a101000.mdio:01 not found
 [   14.443321] net eth0: phy 4a101000.mdio:01 not found on slave 1
 [FAILED] Failed to start dnsmasq - A lightweight DHCP and caching DNS
 server.
 See 'systemctl status dnsmasq.service' for details.
 [DEPEND] Dependency failed for Host and Network Name Lookups.

 Thanks for testing!  I'm pretty sure this is because we also have
 udchpd on the image, both dhcp damon's are fighting for the socket..

ap-hotspot brings in dnsmasq.. might just have to disable that, as we
need udhcpd for bb.org

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-13 Thread Jason Kridner




 On Nov 13, 2014, at 5:20 PM, Robert Nelson robertcnel...@gmail.com wrote:
 
 On Thu, Nov 13, 2014 at 3:54 PM, Robert Nelson robertcnel...@gmail.com 
 wrote:
 On Thu, Nov 13, 2014 at 3:49 PM, Graham gra...@flex-radio.com wrote:
 Robert:
 
 Upon loading
 BBB-eMMC-flasher-debian-jessie-lxqt-armhf-2014-11-11-2gb.img
 
 onto two different BeagleBone Blacks, RevC, two different microSD cards,
 image is untouched, unmodified,
 
 both present the same failures...
 as monitored on TTYO0
 
 =
 [   14.438279] libphy: PHY 4a101000.mdio:01 not found
 [   14.443321] net eth0: phy 4a101000.mdio:01 not found on slave 1
 [FAILED] Failed to start dnsmasq - A lightweight DHCP and caching DNS
 server.
 See 'systemctl status dnsmasq.service' for details.
 [DEPEND] Dependency failed for Host and Network Name Lookups.
 
 Thanks for testing!  I'm pretty sure this is because we also have
 udchpd on the image, both dhcp damon's are fighting for the socket..
 
 ap-hotspot brings in dnsmasq.. might just have to disable that, as we
 need udhcpd for bb.org

The experience of wireless routers that serve up a web login page could be 
rather helpful. It might also give us a way to get wireless adapters connected. 

Maybe we should just switch?

 
 Regards,
 
 -- 
 Robert Nelson
 http://www.rcn-ee.com/
 
 -- 
 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+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-13 Thread Robert Nelson
On Thu, Nov 13, 2014 at 5:53 PM, Jason Kridner jkrid...@gmail.com wrote:




 On Nov 13, 2014, at 5:20 PM, Robert Nelson robertcnel...@gmail.com wrote:

 On Thu, Nov 13, 2014 at 3:54 PM, Robert Nelson robertcnel...@gmail.com 
 wrote:
 On Thu, Nov 13, 2014 at 3:49 PM, Graham gra...@flex-radio.com wrote:
 Robert:

 Upon loading
 BBB-eMMC-flasher-debian-jessie-lxqt-armhf-2014-11-11-2gb.img

 onto two different BeagleBone Blacks, RevC, two different microSD cards,
 image is untouched, unmodified,

 both present the same failures...
 as monitored on TTYO0

 =
 [   14.438279] libphy: PHY 4a101000.mdio:01 not found
 [   14.443321] net eth0: phy 4a101000.mdio:01 not found on slave 1
 [FAILED] Failed to start dnsmasq - A lightweight DHCP and caching DNS
 server.
 See 'systemctl status dnsmasq.service' for details.
 [DEPEND] Dependency failed for Host and Network Name Lookups.

 Thanks for testing!  I'm pretty sure this is because we also have
 udchpd on the image, both dhcp damon's are fighting for the socket..

 ap-hotspot brings in dnsmasq.. might just have to disable that, as we
 need udhcpd for bb.org

 The experience of wireless routers that serve up a web login page could be 
 rather helpful. It might also give us a way to get wireless adapters 
 connected.

 Maybe we should just switch?

Sure, as long as we can configure dnsmasq to do the work of udhcpd,
i'm all for it.. ;)

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: debian testing: 2014-11-11

2014-11-13 Thread Robert Nelson
 Sure, as long as we can configure dnsmasq to do the work of udhcpd,
 i'm all for it.. ;)

https://wiki.debian.org/HowTo/dnsmasq

/etc/dnsmasq.conf

dhcp-range=usb0,192.168.7.1,192.168.7.3,12h

look sane?

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.