 |
Author |
Message |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
sudo chvt 1 && sudo chvt 7 = screen wakey wakey from CLI - useful for a screen shot while away from home, for example.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Mon Aug 22, 2011 9:57 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
NetworkManager to work without a UI open, you need a global connection and you do it like this: Code: fred@cheetah:/etc/NetworkManager/system-connections$ sudo cat JAZZTEL_FRED [sudo] password for fred: [connection] id=JAZZTEL_FRED uuid=ae6b65f0-8d1f-4e99-8b09-5beb5b2d2e7b type=802-11-wireless
[ipv4] method=auto
[ipv6] method=ignore
[802-11-wireless] mode=infrastructure security=802-11-wireless-security ssid=74;65;90;90;84;69;76;95;57;67;56;68
[802-11-wireless-security] key-mgmt=wpa-psk psk=90e586a3084de85d71db
Note permissions need to be: Code: fred@cheetah:/etc/NetworkManager/system-connections$ l total 4 -r-------- 1 root root 319 Dec 1 15:47 JAZZTEL_FRED
And you start it like this: Code: root@cheetah:~# /etc/init.d/network-manager restart # Necessary for it to be picked up, it seems.
root@cheetah:~# nmcli con list # Shows you if it worked NAME UUID TYPE SCOPE TIMESTAMP-REAL Auto eth0 4d11bef3-df86-4e17-96f3-5954b0182100 802-3-ethernet system Thu 01 Dec 2011 15:50:42 CET JAZZTEL_FRED ae6b65f0-8d1f-4e99-8b09-5beb5b2d2e7b 802-11-wireless system Mon 19 Dec 2011 15:00:42 CET
root@cheetah:~# nmcli con up id JAZZTEL_FRED # Connects instantly, or as close to that as wifi ever does... References: http://projects.gnome.org/NetworkManage ... ec-08.htmlhttp://live.gnome.org/NetworkManager/SystemSettingsI constructed the above file line for line from a user connection which is in a totally different format. I couldn't find an automatic way to translate them, either, but this was the source: Code: fred@cheetah:~$ l .gconf/system/networking/connections/1/*/ .gconf/system/networking/connections/1/802-11-wireless/: total 4 -rw------- 1 fred fred 812 Nov 30 15:56 %gconf.xml
.gconf/system/networking/connections/1/802-11-wireless-security/: total 4 -rw------- 1 fred fred 262 Nov 30 15:56 %gconf.xml
.gconf/system/networking/connections/1/connection/: total 4 -rw------- 1 fred fred 491 Nov 30 15:56 %gconf.xml
.gconf/system/networking/connections/1/ipv4/: total 4 -rw------- 1 fred fred 465 Nov 30 15:56 %gconf.xml
.gconf/system/networking/connections/1/ipv6/: total 4 -rw------- 1 fred fred 476 Nov 30 15:56 %gconf.xml
As you can see, each file corresponds to a section in the flat file. Some entries are somehow empty/null, you don't need to include those for it to work. And yes, I'm fully aware that these are real security details, good luck to whoever finds the router that they belong to! :-p Fred.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Mon Dec 19, 2011 3:05 pm |
|
 |
ToxicGumbo
LQFP144 - On Top Of The Game
Joined: Tue Jan 03, 2012 8:37 pm Posts: 439 Location: Manhattan, KS. USA
|
Fred wrote: For the record, I'd been wondering how to partially configure X11 for quite a long time, and never bothered to research it. If by "partially" you mean, as it looks, to add the minimum Nvidia support to a default xorg.conf file, you can run nvidia-xconfig (part of the nvidia-current package) on the command line as root or via sudo. Restart the greeter or computer and X will launch with the proprietary module and 3D support loaded. If anyone uses an older Ubuntu, such as Lucid for its current LTS status, be warned that there's a race condition where the greeter may try to load before the nvidia kernel module and result in a series of "low graphics" prompts as it drops into failsafe. This has been especially temperamental on Macs at cold start for some reason. A number kludges exist which call for delaying the greeter (kdm, gdm, etc.) by a matter of seconds, though it appears they refused to correct the issue until later Ubuntu releases. Bug report conclusion: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/491483/comments/102. -Jeff
|
Sun Jan 08, 2012 8:49 am |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
No, I meant more generally, as in, just adjust one module for some reason, such as mouse or driver or whatever, without affecting the other auto stuff. Dropping a full config in place destroys the auto stuff, and isn't a nice approach. I just never looked for it until I got to this :-)
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Sun Jan 08, 2012 9:08 am |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586751upowerd author you are a CUNT, you have wasted THREE days of my time now. I am now going to email you about this and abuse you. Not happy. Preston just suffered from this FUCKING BULLSHIT again tonight. http://issues.freeems.org/view.php?id=521Prestons time wasted. Wear and tear on vehicle. Logs worthless. Silently fucking everything up. You cock! Recorded here for others to find, keywords: ftdi usb serial corruption hogs hogging hog detect detected watts up pro udev rule rules ubuntu debian ARSEHOLE UNBELIEVABLE STUPIDITY Fred.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Fri Feb 10, 2012 2:21 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
Closed, resolved, fixed. Send future complaints to Richard Hughes using this address: hughsient@gmail.com
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Fri Feb 10, 2012 2:26 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
Finally, I'd like to emphasize how this was listed on my Deb system with apt-cache show: Code: Package: upower Status: deinstall ok config-files Priority: optional (and NOT recommended) And in living colour: Quote: Package: upower Status: deinstall ok config-files Priority: optional (and NOT recommended) Preston was on skype with me while I was diagnosing and dealing with this for him and can vouch for the level of my rage and the quantity of lost time. Hung drawn and quartered is how that dude would be if he were here right now. Fred.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Fri Feb 10, 2012 2:34 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
Two things: Removing it seems to break Gnome in Ubuntu 11.? It didn't solve the issue, it was a driver issue in Ubuntu, though it could have been two issues. Code: # unplug sudo rmmod ftdi_sio usbserial # plug back in Fred.
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Sat Feb 11, 2012 10:58 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
Got a lot of these: Code: : mail. file: 1331006941.12941 Apr 22 14:17:47 cheetah nullmailer[24376]: smtp: Failed: Connect failed Apr 22 14:17:47 cheetah nullmailer[1953]: Sending failed: Host not found Apr 22 14:17:47 cheetah nullmailer[1953]: Starting delivery: protocol: smtp host: mail. file: 1334372941.24675 Apr 22 14:17:57 cheetah nullmailer[24377]: smtp: Failed: Connect failed Apr 22 14:17:57 cheetah nullmailer[1953]: Sending failed: Host not found Apr 22 14:17:57 cheetah nullmailer[1953]: Starting delivery: protocol: smtp host Every ten seconds! Did this: Code: apt-get remove nullmailer
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Sun Apr 22, 2012 1:21 pm |
|
 |
Fred
Moderator
Joined: Tue Jan 15, 2008 2:31 pm Posts: 15069 Location: Home sweet home!
|
_________________DIYEFI.org - where Open Source means Open Source, and Free means Freedom FreeEMS.org - the open source engine management system FreeEMS dev diary and its comments thread and my turbo truck!n00bs, do NOT PM or email tech questions! Use the forum! The ever growing list of FreeEMS success stories!
|
Tue Apr 24, 2012 3:10 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |