dhclient

178 views
Skip to first unread message

ted brunner

unread,
Apr 22, 2012, 5:15:45 PM4/22/12
to ptp-g...@googlegroups.com, ted brunner
I'm trying to turn on dhclient in openwrt backfire that I built. Its
for a Clear wimax usb stick.

So far, I can't get dnsmasq to admit to having a dhcp client - but I'm
hoping I haven't ask correctly.
In the make menuconfig, I don't see a dhclient to include.

So what am I doing wrong?

--
ted brunner

Russell Senior

unread,
Apr 22, 2012, 6:38:38 PM4/22/12
to ptp-g...@googlegroups.com, ted brunner
>>>>> "ted" == ted brunner <ted.b...@gmail.com> writes:

ted> I'm trying to turn on dhclient in openwrt backfire that I built.
ted> Its for a Clear wimax usb stick.

The dhcp client in openwrt is called udhcpc (pretty sure this is part
of busybox). You should be able to use the uci configuration system
to configure that interface. Are you sure it isn't doing some pppoe
type thing?

Look in /etc/config/network and /etc/config/dhcp for examples of
normal interface configuration. Look here for the uci network
configuration documentation:

http://wiki.openwrt.org/doc/uci/network

Be aware that OpenWrt adds a layer of interface naming (e.g. lan or
wan or ???) on top of the linux interface names (eth0, wlan0, etc).
You could have a stanza called "config interface wimax" and add the
linux interface name as an option under that: "option ifname 'ppp0'"
or whatever. Also, I'd suggest to try it in a linux laptop and see
how the laptop configures it.


--
Russell Senior, President
rus...@personaltelco.net

Sam Churchill

unread,
Apr 22, 2012, 8:46:04 PM4/22/12
to ptp-g...@googlegroups.com
Hi Ted:

I haven't a clue what you need to do to make the Clear WiMax stick work with openwrt, but do you want to try my Cisco E-4200 instead? It has a usb socket and has both 2.4 and 5 Ghz channels with Full 3x3 MIMO.

I don't have a Clear stick that has the built-in software, but if you want to test it out and use it for a few months, that works for me. I'd like to use that as my solar powered system since their routers are only $89 refurbished from Cisco.

http://www.smallnetbuilder.com/wireless/wireless-reviews/31399-cisco-linksys-e4200-maximum-performance-wireless-n-router-reviewed

It's supposed to work with DD-WRT:

http://www.dd-wrt.com/wiki/index.php/Linksys_E4200
https://www.flashrouters.com/cisco-linksys-e4200-ddwrt-router.php
https://www.flashrouters.com/blog/2011/09/17/featured-dd-wrt-router-review-cisco-by-linksys-e4200-high-performance-wireless-n-dual-band-router-with-vpn-connectivity-networked-usb-compatability/
https://dev.openwrt.org/search?q=e4200

- Sam




--
ted brunner

--
The Personal Telco Project - http://www.personaltelco.net/
Donate to PTP: http://www.personaltelco.net/donate
Archives:  http://news.gmane.org/gmane.network.wireless.portland.general/                                               Etiquette: http://www.personaltelco.net/index.cgi/MailingListEtiquette
List information: http://lists.personaltelco.net
To post to this group, send email to ptp-g...@googlegroups.com
To unsubscribe from this group, send email to
ptp-general+unsubscribe@googlegroups.com



--
Sam Churchill
(www.dailywireless.org)

Matthew Klug

unread,
Apr 22, 2012, 9:22:36 PM4/22/12
to ptp-g...@googlegroups.com
DD-WRT
-- Matt


ted brunner

unread,
Apr 23, 2012, 12:26:53 AM4/23/12
to Russell Senior, ptp-g...@googlegroups.com
Excellent. That worked! Now my little Alix box is a (still incomplete)
mobile hotspot.
Thanks.
ted
ted brunner

ted brunner

unread,
Apr 23, 2012, 12:35:21 AM4/23/12
to ptp-g...@googlegroups.com, ted brunner
Sam-
That's a generous offer.  I don't know if the necessary driver is on the cisco E4200 or not.  But it may be easy to check.  Just plug it in and see. 
When building the version of OpenWRT that it is running on, I had to select the cdc ethernet driver to add.  Where as Ubuntu 10.4 already had it.  So its isn't obvious whether the cisco has it or not. 
Then there is the question of whether it could be loaded onto the cisco if it wasn't already there.  Dunno.  I've never worked with this kind of router.
We could run a test at a PTP weekly.  Are you planning on attending any time soon?  Otherwise, we live in the same town...

ted
--
The Personal Telco Project - http://www.personaltelco.net/
Donate to PTP: http://www.personaltelco.net/donate
Archives: http://news.gmane.org/gmane.network.wireless.portland.general/
Etiquette: http://www.personaltelco.net/index.cgi/MailingListEtiquette
List information: http://lists.personaltelco.net
To post to this group, send email to ptp-g...@googlegroups.com
To unsubscribe from this group, send email to

Sam Churchill

unread,
Apr 23, 2012, 2:43:04 AM4/23/12
to ptp-g...@googlegroups.com
I figured my earlier Clear USB modem wouldn't work. I'm worried I'd brick my Cisco, but if you want to try, I'd give you absolution. Maybe I'll bring it down at the next monthly.
Reply all
Reply to author
Forward
0 new messages