New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Search found 1529 matches
- 27 Aug 2011, 15:29
- Forum: B2 & B3 Support
- Topic: PHP error on status page
- Replies: 6
- Views: 8815
Re: PHP error on status page
I think it's proprietary. Not part of cups itself anyway. Content of /usr/bin/cups-list-printers is as follows: #!/usr/bin/python import cups, json printers = [] try: for name, queue in cups.Connection().getPrinters().iteritems (): printers.append({ 'name': name, 'info': queue['printer-info'], 'enab...
- 27 Aug 2011, 13:27
- Forum: B2 & B3 Support
- Topic: PHP error on status page
- Replies: 6
- Views: 8815
Re: PHP error on status page
Apparently there is an issue with executing the shell command `cups-list-printers`. You might want to try and see what (error) this command returns if you execute it manually. The reason that you're seeing this in the web-admin is because the helper function returns a null value rather than an empty...
- 23 Aug 2011, 05:19
- Forum: Howtos
- Topic: Display the HDD temperature in the web portal [patch]
- Replies: 33
- Views: 74162
Re: Display the HDD temperature in the web portal [patch]
In the patch I posted above, you could have read that patching of stat.php should start at line 85. The correct place for the hddtemp entry is in the function called `index`, not `info`. To automagically fetch and convert the previous post to a working patch file, run the following command on your B...
- 18 Aug 2011, 12:50
- Forum: B2 & B3 Support
- Topic: [Solved] Oops on mv_crypto
- Replies: 4
- Views: 11112
Re: Oops on mv_crypto
Confirmed No more crashes since I switched to KLIPS. Should probably add this to the wiki. # Note: regular manual will tell you to apt-get the openswan-modules-source, in which case you'll be pulling in the 2.6.28 version. I'm not sure why, but this one does not compile. Just get the latest one from...
- 17 Aug 2011, 13:03
- Forum: B2 & B3 Feature Requests
- Topic: HTTPS suggestion
- Replies: 31
- Views: 48526
Re: HTTPS suggestion
I took a closer look at the wiki and I think something is missing there. I don't see the CA being included in the apache server config, so this would lead to an invalid certificate path. Did you test this?
- 17 Aug 2011, 08:09
- Forum: B2 & B3 Feature Requests
- Topic: HTTPS suggestion
- Replies: 31
- Views: 48526
Re: HTTPS suggestion
For those who want to do it themselves: http://wiki.excito.org/wiki/index.php/Be_your_own_CA Good show :!: A word of caution though: do NOT enter passwords while creating the server certificate. If you do, you'll be asked to enter it each time apache starts. Come to think of it, having a password p...
- 17 Aug 2011, 07:24
- Forum: Howtos
- Topic: Display the HDD temperature in the web portal [patch]
- Replies: 33
- Views: 74162
Re: Display the HDD temperature in the web portal [patch]
Could anyone please fix the patch so that it works with the latest updates? Maybe Excito could make the temperature info default in the next version? :) Okay... ---\sadmin/controllers/stat.php\t2011-08-03\s16:11:51.000000000\s+0200 +++\sadmin.patched/controllers/stat.php\t2011-08-17\s10:22:51.00000...
- 15 Aug 2011, 09:48
- Forum: B2 & B3 Support
- Topic: [Solved] Oops on mv_crypto
- Replies: 4
- Views: 11112
Re: Oops on mv_crypto
I think I fixed it. Still testing to verify. In short, something appears to be wrong with authcrypto in the ARM kernel. I installed the KLIPS module from the openswan source, which is actually what I'm also using on the LEAF box at the other end. Best thing yet is that this module gives me the ipsec...
- 14 Aug 2011, 07:18
- Forum: B2 & B3 Feature Requests
- Topic: HTTPS suggestion
- Replies: 31
- Views: 48526
Re: HTTPS suggestion
You can easily create your own root certificate. It's not any different from a regular certificate. The only issue with using certificates is that the server name and the URL you are using to access the page must match to stop your browser from complaining (in case of Internet Explorer I'd like to r...
- 13 Aug 2011, 04:42
- Forum: B2 & B3 Feature Requests
- Topic: HTTPS suggestion
- Replies: 31
- Views: 48526
Re: HTTPS suggestion
Okay, I can fix that. Try this for content in `index.php` <?php $clientIP=$_SERVER["REMOTE_ADDR"]; $IProute=explode(" ",exec("ip route get ".$clientIP."|grep \"".$clientIP."\" 2>&1")); $device=$IProute[2]; $prefix=($device=="eth0&q...
- 12 Aug 2011, 05:41
- Forum: B2 & B3 Feature Requests
- Topic: HTTPS suggestion
- Replies: 31
- Views: 48526
Re: HTTPS suggestion
Well, yeah... The only way to make any computer meddle-free is to pour concrete on top of it and then drop it in the middle of the ocean. But that doesn't mean you should give up trying with computers that you actually intent to use. In any case, the following quick and dirty fix will help those tha...
- 12 Aug 2011, 04:10
- Forum: B2 & B3 Feature Requests
- Topic: HTTPS suggestion
- Replies: 31
- Views: 48526
Re: HTTPS suggestion
because most people do not understand this. Look, it's a bit like bulldozering down all McDonalds because fast food is bad for you and we should "educate" the people. If you want to educate, ehtn educate. Don't force your opinion on me. I've been thinking about this and I disagree. Thing ...
- 12 Aug 2011, 03:39
- Forum: B2 & B3 Support
- Topic: B3 upload problem
- Replies: 29
- Views: 33019
Re: B3 upload problem
You might want to take a look here: Strike that: not allowed to post off-site URLs Find BuilderAU (an Australian site for developers) and type this exact string in the search field samba, file sharing, vista, microsoft In the results there is a blog page named `Get Vista and Samba to work`. Looks li...
- 11 Aug 2011, 10:18
- Forum: B2 & B3 Support
- Topic: [Solved] Oops on mv_crypto
- Replies: 4
- Views: 11112
[Solved] Oops on mv_crypto
My first post and immediately starting with a problem. First of all I love the forum and the wiki. They've been a lot of help tweaking the B3 I recently purchased. Big thumbs up for all the help sofar. Now for my problem. I followed the wiki on enabling ipsec and this appears to work fine as long as...