Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix > OCNix

Reply
 
LinkBack Thread Tools
Old 02-23-08   #11 (permalink)
Linux Lobbyist
 
lattyware's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: England
Posts: 1,734

Rep: 188 lattyware is acknowledged by manylattyware is acknowledged by many
Unique Rep: 138
Hardware Reviews: 1
Trader Rating: 0
Default

http://www.box.net/shared/me760ne888

Updated version. Now the scripting system should be more usable and obvious on what to do (other minor updates, a man page, READMEs, etc...)

Again, testing and the like would be good. If anyone feels like writing a script then that'd be cool. Obviously, it's useless without any scripts, but I'm hoping people will write stuff for their own use, and then share with others, so people can just use from a library of available ones.
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42
Never been convinced by Linux? Here is a challenge. | Using LVM
Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade
Etching an image into your case. | Wireless Access Points: Easy wireless networking.
A Member Of The OCN Anime/Manga Club
There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.

System: gBOX42
CPU
Core 2 Duo E6600 @ 3.51GHz
Motherboard
Asus P5B Deluxe/WiFi-AP
Memory
2 x OCZ DDR2 Platinum 1Gb PC6400 C4
Graphics Card
256MB MSI 8600GTS
Hard Drive
2 x 500GB SATA (ST3500641AS), 250GB IDE, 200GB IDE
Sound Card
Creative Soundblaster Audigy SE
Power Supply
SEASONIC S12-600
Case
CoolerMaster Cosmos
CPU cooling
XSPC X2O Delta CPU Waterblock V2
GPU cooling
D-Tek FuZion GFX Block
OS
Arch x64 w/KDE4.1
Monitor
Dell 2407WFP, Dell E248WFP

Last edited by lattyware : 02-23-08 at 03:03 PM.
lattyware is offline lattyware's Gallery   Reply With Quote
Old 02-23-08   #12 (permalink)
Programmer
 
intel ati

Join Date: Nov 2006
Posts: 1,354

Rep: 91 version2 is acknowledged by some
Unique Rep: 74
Trader Rating: 2
Default

Following your instructions, I can't get simpleconf to run. I get:
Code:
sh: ./simpleconf: Permission denied.
I've tried root, I've tried the ocnix user, I've tried sudo with the ocnix user...

Edit: It may be a problem on my end, my OCNix build got screwed up, it seems.
__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
Sapphire x1950pro
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)
version2 is offline   Reply With Quote
Old 02-24-08   #13 (permalink)
Linux Lobbyist
 
lattyware's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: England
Posts: 1,734

Rep: 188 lattyware is acknowledged by manylattyware is acknowledged by many
Unique Rep: 138
Hardware Reviews: 1
Trader Rating: 0
Default

You need to set the file as executable. Apparently whatever you use to extract your files does not keep the executable file permission. Do 'chmod a+x simpleconf' and then './simpleconf' or just right click the file in Nautilus, choose properties, permissions, make file executable, and then double click simpleconf and choose run from the popup (You could also just do 'python simpleconf', but it's impossible to do that with a GUI, so...).
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42
Never been convinced by Linux? Here is a challenge. | Using LVM
Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade
Etching an image into your case. | Wireless Access Points: Easy wireless networking.
A Member Of The OCN Anime/Manga Club
There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.

System: gBOX42
CPU
Core 2 Duo E6600 @ 3.51GHz
Motherboard
Asus P5B Deluxe/WiFi-AP
Memory
2 x OCZ DDR2 Platinum 1Gb PC6400 C4
Graphics Card
256MB MSI 8600GTS
Hard Drive
2 x 500GB SATA (ST3500641AS), 250GB IDE, 200GB IDE
Sound Card
Creative Soundblaster Audigy SE
Power Supply
SEASONIC S12-600
Case
CoolerMaster Cosmos
CPU cooling
XSPC X2O Delta CPU Waterblock V2
GPU cooling
D-Tek FuZion GFX Block
OS
Arch x64 w/KDE4.1
Monitor
Dell 2407WFP, Dell E248WFP

Last edited by lattyware : 02-24-08 at 04:43 AM.
lattyware is offline lattyware's Gallery   Reply With Quote
Old 03-17-08   #14 (permalink)
Programmer
 
intel ati

Join Date: Nov 2006
Posts: 1,354

Rep: 91 version2 is acknowledged by some
Unique Rep: 74
Trader Rating: 2
Default

I get all sorts of errors:


Also, for whatever reason, I can't get the dbus dependancy even though it is in the debian sid repositry?!?

I installed python-gtk and the error message surprisingly stayed the same.
__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
Sapphire x1950pro
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)

Last edited by version2 : 03-17-08 at 08:54 PM.
version2 is offline   Reply With Quote
Old 03-17-08   #15 (permalink)
Folding Fanatic
 
amd nvidia

Join Date: Dec 2007
Posts: 3,404
Blog Entries: 2

Rep: 307 R3ap3R is a proven memberR3ap3R is a proven memberR3ap3R is a proven memberR3ap3R is a proven member
Unique Rep: 164
Folding Team Rank: 332
Hardware Reviews: 3
Trader Rating: 15
Default

I had the same problem, gave up.... figured it was my fault (user error)
__________________
System: Scythe II
CPU
X2 5200+ 2.93GHz
Motherboard
Asus M2N68-LA
Memory
Buffalo FireStix PC6400 DDR2 800MHz 4GB (1gb * 4)
Graphics Card
EVGA 8800GT 512 @ 690/1620/825
Hard Drive
2 x 500GB RAID0, 1 x 1TB int & 1TB ext (3TB total)
Sound Card
Stock: Boycotting Creative; replacement soon :)
Power Supply
Eagle 700W
Case
Media center w/tv tuner
CPU cooling
Massive Heatsink, Lapped
GPU cooling
Fans
OS
Vsta HP & Ult, XP Pro, Ubntu 7.10, Win2k, & OCNix
Monitor
LG 42" HD & AOC 22"
R3ap3R is offline I fold for Overclock.net R3ap3R's Gallery   Reply With Quote
Old 03-18-08   #16 (permalink)
Linux Lobbyist
 
lattyware's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: England
Posts: 1,734

Rep: 188 lattyware is acknowledged by manylattyware is acknowledged by many
Unique Rep: 138
Hardware Reviews: 1
Trader Rating: 0
Default

That's because you are running it with sh ./simpleconf - sh runs it as a bash script - it's a python script.

python simpleconf or ./simpleconf will work (it has a shabang, so if you set it as executable, the latter will work).
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42
Never been convinced by Linux? Here is a challenge. | Using LVM
Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade
Etching an image into your case. | Wireless Access Points: Easy wireless networking.
A Member Of The OCN Anime/Manga Club
There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.

System: gBOX42
CPU
Core 2 Duo E6600 @ 3.51GHz
Motherboard
Asus P5B Deluxe/WiFi-AP
Memory
2 x OCZ DDR2 Platinum 1Gb PC6400 C4
Graphics Card
256MB MSI 8600GTS
Hard Drive
2 x 500GB SATA (ST3500641AS), 250GB IDE, 200GB IDE
Sound Card
Creative Soundblaster Audigy SE
Power Supply
SEASONIC S12-600
Case
CoolerMaster Cosmos
CPU cooling
XSPC X2O Delta CPU Waterblock V2
GPU cooling
D-Tek FuZion GFX Block
OS
Arch x64 w/KDE4.1
Monitor
Dell 2407WFP, Dell E248WFP
lattyware is offline lattyware's Gallery   Reply With Quote
Old 03-18-08   #17 (permalink)
Programmer
 
intel ati

Join Date: Nov 2006
Posts: 1,354

Rep: 91 version2 is acknowledged by some
Unique Rep: 74
Trader Rating: 2
Default

Quote:
Originally Posted by lattyware View Post
That's because you are running it with sh ./simpleconf - sh runs it as a bash script - it's a python script.

python simpleconf or ./simpleconf will work (it has a shabang, so if you set it as executable, the latter will work).
It had given me the same error.

To my knowledge, running sh ./simpleconf should work anyway, because it calls for the python binary in the file, right?

I'll try again.
__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
Sapphire x1950pro
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)
version2 is offline   Reply With Quote
Old 03-19-08   #18 (permalink)
Linux Lobbyist
 
lattyware's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: England
Posts: 1,734

Rep: 188 lattyware is acknowledged by manylattyware is acknowledged by many
Unique Rep: 138
Hardware Reviews: 1
Trader Rating: 0
Default

what, 'python simpleconf' gave you the same error? Something is going wrong with your setup, then...
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42
Never been convinced by Linux? Here is a challenge. | Using LVM
Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade
Etching an image into your case. | Wireless Access Points: Easy wireless networking.
A Member Of The OCN Anime/Manga Club
There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.

System: gBOX42
CPU
Core 2 Duo E6600 @ 3.51GHz
Motherboard
Asus P5B Deluxe/WiFi-AP
Memory
2 x OCZ DDR2 Platinum 1Gb PC6400 C4
Graphics Card
256MB MSI 8600GTS
Hard Drive
2 x 500GB SATA (ST3500641AS), 250GB IDE, 200GB IDE
Sound Card
Creative Soundblaster Audigy SE
Power Supply
SEASONIC S12-600
Case
CoolerMaster Cosmos
CPU cooling
XSPC X2O Delta CPU Waterblock V2
GPU cooling
D-Tek FuZion GFX Block
OS
Arch x64 w/KDE4.1
Monitor
Dell 2407WFP, Dell E248WFP
lattyware is offline lattyware's Gallery   Reply With Quote
Old 03-29-08   #19 (permalink)
Programmer
 
intel ati

Join Date: Nov 2006
Posts: 1,354

Rep: 91 version2 is acknowledged by some
Unique Rep: 74
Trader Rating: 2
Default

__________________
System: Duo
CPU
Core 2 Duo E6600 B2
Motherboard
Asus P5B Deluxe
Memory
G.SKILL HZ 2x1gb DDR2 800
Graphics Card
Sapphire x1950pro
Hard Drive
WD 640gb, Maxtor 160gb
Sound Card
Audigy 2 ZS
Power Supply
FSP 450W
Case
Ultra Aluminus
CPU cooling
Freezer Pro 7
GPU cooling
Stock
Monitor
20.1'' SOYO LCD (Wide)
version2 is offline   Reply With Quote
Old 03-30-08   #20 (permalink)
Linux Lobbyist
 
lattyware's Avatar
 
intel nvidia

Join Date: Feb 2007
Location: England
Posts: 1,734

Rep: 188 lattyware is acknowledged by manylattyware is acknowledged by many
Unique Rep: 138
Hardware Reviews: 1
Trader Rating: 0
Default

OK, the problem is, it was written for python 2.5, and you are using 2.4 (I tried 2.4 and got that error).

Quote:
gareth@gBox42:~/Documents/development/simpleconf$ python2.4 ./simpleconf
File "./simpleconf", line 186
class devices():
^
SyntaxError: invalid syntax
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42
Never been convinced by Linux? Here is a challenge. | Using LVM
Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade
Etching an image into your case. | Wireless Access Points: Easy wireless networking.
A Member Of The OCN Anime/Manga Club
There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.

System: gBOX42
CPU
Core 2 Duo E6600 @ 3.51GHz
Motherboard
Asus P5B Deluxe/WiFi-AP
Memory
2 x OCZ DDR2 Platinum 1Gb PC6400 C4
Graphics Card
256MB MSI 8600GTS
Hard Drive
2 x 500GB SATA (ST3500641AS), 250GB IDE, 200GB IDE
Sound Card
Creative Soundblaster Audigy SE
Power Supply
SEASONIC S12-600
Case
CoolerMaster Cosmos
CPU cooling
XSPC X2O Delta CPU Waterblock V2
GPU cooling
D-Tek FuZion GFX Block
OS
Arch x64 w/KDE4.1
Monitor
Dell 2407WFP, Dell E248WFP
lattyware is offline lattyware's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 07:06 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.19539 seconds with 9 queries