Pogo as dhcp client - location of config settings

Ask questions about Arch Linux ARM. Please search before making a new topic.

Pogo as dhcp client - location of config settings

Postby tedm » Mon Feb 10, 2014 2:24 am

I'm having a little bit of odd behavior with my Pogo. Though it's a mini home server, I sometimes roam across different test networks, always on private off-internet LANs. For 192.168.x.x It will always grab an IP, and I can arp from a client, or just check the router or dhcp server for what it's IP is.

However, when I put the device on a 10.x.x.x network, it doesn't grab an IP, and I don't have access to that server's DHCP server.

I've looked at /etc/network/interfaces and there is a wired-eth0 but it doesn't appear to be used as it's all commented out.

Is there a way to see what may be causing it to not boot up and grab a non 192.168.x.x IP ? I do poweroff and just plug it into new networks as needed. This works for the 192.168.x.x networks fine, if it's previous IP is now leased out, it just gets a new one. But no go on 10.x.x.x networks. Nothing is hard-coded, that I have ever done with regards to networking or subnet, or gateway configurations.

The pogo device is not running a dhcp server, only a dhcp client. Thanks.
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Pogo as dhcp client - location of config settings

Postby WarheadsSE » Mon Feb 10, 2014 3:44 am

What systemd service do you have enabled to get a dhcp address?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo as dhcp client - location of config settings

Postby tedm » Mon Feb 10, 2014 4:15 am

dhcpd

ps ax | grep dhcpcd shows:

196 ? Ss 0:00 dhcpcd -qL -t 10 eth0
1029 pts/1 S+ 0:00 grep dhcpcd
[root@xxx

here's more info., after reading different ways of setting dhcpcd up:

[root@alarm conf.d]# ls
apache crond dhcpcd ftpd iptables netcfg openntpd sshd
[root@alarm conf.d]# cat dhcpcd
#
# Arguments to be passed to the DHCP client daemon
#

DHCPCD_ARGS="-q"

[ end of file ]
Last edited by tedm on Mon Feb 10, 2014 4:17 am, edited 1 time in total.
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Pogo as dhcp client - location of config settings

Postby WarheadsSE » Mon Feb 10, 2014 4:16 am

Okay, let me ask this again

$this->bbcode_second_pass_quote('', 'W')hat systemd service
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo as dhcp client - location of config settings

Postby tedm » Mon Feb 10, 2014 4:18 am

can you tell me how to answer that?
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Pogo as dhcp client - location of config settings

Postby tedm » Mon Feb 10, 2014 4:20 am

does this tell anything?

# ps ax | grep systemd
45 ? Ss 0:00 /usr/lib/systemd/systemd-journald
70 ? Ss 0:00 /usr/lib/systemd/systemd-udevd
99 ? Ss 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
100 ? Ss 0:00 /usr/lib/systemd/systemd-logind
1038 pts/0 S+ 0:00 grep systemd
[root@alarm etc]#
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Pogo as dhcp client - location of config settings

Postby WarheadsSE » Mon Feb 10, 2014 4:21 am

$this->bbcode_second_pass_code('', 'tree /etc/systemd/system')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo as dhcp client - location of config settings

Postby tedm » Mon Feb 10, 2014 4:23 am

$this->bbcode_second_pass_code('', '
# tree /etc/systemd/system
/etc/systemd/system
├── getty.target.wants
│ └── getty@tty1.service -> /usr/lib/systemd/system/getty@.service
├── multi-user.target.wants
│ ├── cronie.service -> /usr/lib/systemd/system/cronie.service
│ ├── httpd.service -> /usr/lib/systemd/system/httpd.service
│ ├── lighttpd.service -> /usr/lib/systemd/system/lighttpd.service
│ ├── netcfg.service -> /usr/lib/systemd/system/netcfg.service
│ ├── nmb.service -> /usr/lib/systemd/system/nmb.service
│ ├── openntpd.service -> /usr/lib/systemd/system/openntpd.service
│ ├── php-fpm.service -> /usr/lib/systemd/system/php-fpm.service
│ ├── remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
│ ├── smb.service -> /usr/lib/systemd/system/smb.service
│ ├── sshdgenkeys.service -> /usr/lib/systemd/system/sshdgenkeys.service
│ ├── sshd.service -> /usr/lib/systemd/system/sshd.service
│ └── syslog-ng.service -> /usr/lib/systemd/system/syslog-ng.service
└── syslog.service -> /usr/lib/systemd/system/syslog-ng.service

2 directories, 14 files
')
Last edited by WarheadsSE on Mon Feb 10, 2014 4:30 am, edited 1 time in total.
Reason: adding code tags.
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: Pogo as dhcp client - location of config settings

Postby WarheadsSE » Mon Feb 10, 2014 4:30 am

So netcfg
$this->bbcode_second_pass_code('', 'netcfg.service -> /usr/lib/systemd/system/netcfg.service')

How is it you are so certain it is not obtaining an IP address?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogo as dhcp client - location of config settings

Postby tedm » Mon Feb 10, 2014 4:38 am

I ran that command and got netcfg.service: command not found

uname -a shows:

LINUX 3.1.10-18-ARCH #1 PREEMPT Thu Apr 18 00:45:32 UTC 2013 armv5tel GNU/Linux

I'm not 100% sure it's not, though I am 100% sure it gets IP addresses on the 192.168.x.x networks, so I'm willing to do more testing with a dedicated DHCP server that I have access to monitoring, if it should be, and arp / nslookup / etc., just aren't seeing it.

Thanks.
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 11 guests

cron