Skip to main content

Posts

Showing posts from 2010

Authorization error with API user knife initialization `knife configure -i`

Notice these errors. First error shows the API user of knife (root) failed to authenticate: # knife client list WARN: HTTP Request Returned 401 Unauthorized: Failed to authenticate! /usr/lib/ruby/1.8/net/http.rb:2101:in `error!': 401 "Unauthorized" (Net::HTTPServerException) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:217:in `api_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:268:in `retriable_rest_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:198:in `api_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/rest.rb:101:in `get_rest' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/api_client.rb:185:in `list' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/knife/client_list.rb:35:in `run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.6/lib/chef/application/knife.rb:115:in `run' from /usr/lib/ruby/gems/1.8/

Wavecom WMOD2 manuals / AT commands

http://mirakulo.com/pub/wavecom-wmod2/ [ ] WMOD2Buserman.pdf 20-Jun-2010 16:27 164K [ ] X421Modem.zip 20-Jun-2010 16:28 578K [ ] XModem_dwl_v10.PDF 20-Jun-2010 16:28 599K [ ] atph2step3.pdf 20-Jun-2010 16:27 1.4M [ ] step3relnote7c.pdf 20-Jun-2010 16:28 58K

Docsis-server install in Ubuntu 8.04

Base guide is here http://users.accesscomm.ca/docsis_server/howto_1.html I installed docsis first so this package might have dependencies already installed from docsis. wget http://users.accesscomm.ca/docsis_server/docsis-server-current.tar.bz2 bunzip aptitude install m4 ./configure it will look for m4 see if m4 is installed `which m4` if not, aptitude install m4 if already installed, mod configure script to do the m4 check correctly: look for this line, if test "x$ac_is_gnu_m4" = "xGNU"; then change it to: if test "x$ac_is_gnu_m4" = "xm4"; then run ./configure again if you get this error: checking for mysql_config... /usr/libexec/mysql_config configure: error: You need at least mysql 4.0.0, get it at http://www.mysql.com aptitude install mysql-client mysql-server libmysqlclient15-dev run ./configure again make make install verify root@tds-stg-dhcp02:~/docsis_server-3.5# ls /usr/local/sbin/ Count_IPs Delete_Old_Leases FindIP ListMessa

docsis source code install in Ubuntu 8.04

wget http://downloads.sourceforge.net/project/docsis/docsis/docsis-0.9.5/docsis-0.9.5.tar.gz?use_mirror=nchc untar goto docsis-0.9.5 dir aptitude install m4 bison libsnmp-base libsnmp15 snmpd libsnmp-dev flex ./configure it will look for m4 see if m4 is installed `which m4` if not, aptitude install m4 if already installed, mod configure script to do the m4 check correctly: look for this line, if test "x$ac_is_gnu_m4" = "xGNU"; then change it to: if test "x$ac_is_gnu_m4" = "xm4"; then run ./configure again it will look for bison, aptitude install bison and run ./configure again `make` make sure you install flex or you will get an error from sed about a file not being found if you get an error about floor: undefined reference to `floor' goto root@tds-stg-dhcp02:~/docsis-0.9.5# vim src/Makefile look for this line: LINK = $(LIBTOOL) --mode=link --tag=CC $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ and add the math funct