View unanswered posts | View active topics It is currently Thu Sep 21, 2017 6:20 am



Reply to topic  [ 23 posts ]  Go to page Previous  1, 2, 3  Next
Debian On Mac Mini 
Author Message
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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.html
http://live.gnome.org/NetworkManager/SystemSettings

I 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
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Jan 03, 2012 8:37 pm
Posts: 431
Location: Baton Rouge, LA. 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

_________________
FreeEMS vehicle #23: 2003 Toyota "Toxic" Tacoma
Build page: http://forum.diyefi.org/viewtopic.php?f=3&t=1635)


Sun Jan 08, 2012 8:49 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
Location: Home sweet home!
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586751

upowerd 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=521

Prestons 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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
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
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14771
Location: Home sweet home!
Post Re
I installed bootchart2, and found some huge obvious issues, but didn't fix anything yet. Some links, doing a browser clean up...

https://github.com/mmeeks/bootchart
http://lgallardo.com/en/2009/07/08/arra ... an-14-sec/
http://www.debian-administration.org/ar ... 14_seconds
http://maketecheasier.com/linux-startup ... 2011/03/03

_________________
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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page Previous  1, 2, 3  Next

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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.