PCI
Atheros - ath9k
Its not being seen, ifconfig? Iwconfig? One of those doesn't show anything.
Thus is kinda why I dislike Linux, there are tutorials everywhere, but I always run into something different and that makes tutorial useless.
Printable View
PCI
Atheros - ath9k
Its not being seen, ifconfig? Iwconfig? One of those doesn't show anything.
Thus is kinda why I dislike Linux, there are tutorials everywhere, but I always run into something different and that makes tutorial useless.
does the card show up under Windows?
I'll assume you are using this with a recent version of a Debian/Ubuntu distro....
yes works under windows,
and about the distro..
well its backtrack linux gnome/ubuntu build. so i realize thats whats most likely causing the "plug and play" issues as its not a new version of ubuntu.
also if you help with any command things im logged as root so i thing no sudo commands nessisary?
ifconfig and iwconfig are going to talk to the driver. If the driver is not there or not loaded then nothing will show. You need to do a dmesg to see if it shows up. dmesg shows what hardware is detected. If it does you are going to need to instal the driver.
root user does not need sudo.
Maybe try Kali? Less calories and fat yet all the same nutrients. :up:
Are you trying this in a VM?
Best to leave Kali well alone. It's REALLY not something that's intended for even intermediate Linux users, comes with many toys that can get you on multiple government watch lists and won't run BOINC v 6.12.x on (I tried last night) due to unmeetable (GlibC versions to be specific, updating which is likely to break the whole system) dependencies. Also, the only account set up in Kali by default is root. Unless you set them up yourself there are no user accounts. It is HIGHLY inadvisable to browse the internet from the root account. It's also built on Debian, not Ubuntu, and a lot of things are not compatible thanks to Ubuntu screwing with things and trying to go their own way. If you want a distro that's flexible enough to do pretty much whatever with minimum hassle, use Mint. Kali is also REALLY awkward to get some hardware running properly due to it's odd package version mix. I spent three days trying to get the OpenCL drivers working on it only to find out there are compatibility issues between the drivers versions and the tool I wanted to use OpenCL for. The same driver version issue affects Windows machines, it's the tool that's super fickle.
People assume that because a given piece of hardware runs in Windows it should run under Linux. That's a poor assumption. Mac hardware often doesn't run on Windows but do people blame Windows for that? No. They realise that someone somewhere has to write the drivers for that hardware and if a given OS is not their intended market then they won't be writing the drivers to suit. Most of the time Linux developers step up and make things work, but some hardware is just too obscure, poorly made, or even too expensive to be obtainable by people working for nothing (or within tight budgets) and so not worth the trouble. There are multiple lists of what hardware is supported by Linux and what drivers are required if people take the time to look for them. using incompatible hardware is the user's fault, not the operating system no matter if they're using Linux, Mac OS or Windows.
Well I did not know that Kali would not run Boinc but I also have no idea why anyone would want to use that combo anyway. To each his own.
If a VM is involved I can almost assure you Linux is not the problem.
What I am getting tired of is trying to drag info out of people. I gave up on WCG Forums when I can not get a guy to tell me what "FAAH crashed my computer" means. Blue screen? Lockup? Reboot? Shutdown?
And yes Kali, Backtrack and even Debian can get a person in trouble, different sorts of trouble. It would be fair to say if you can't get a PCI WiFi card that has linux drivers working you should not be playing with pen test distros.
You can try this but I won't help. Sorry. https://forums.kali.org/showthread.p...ros-Lan-Driver
okay and no vm im running this on a spare drive and just swap drives when doing this.
the toys that get you into trouble are mostly why im playing with this os. and im not looking to run boinc on it. im not really doing much but I hear about how easy it is to break into wireless and such some im gonna test securities of my network and a spare one that i have setup just for this, just bored and want to play around.
yes i realize that when running a vm you MUST use usb wireless nic becuase of the rights access such. its not that.
i want to the nic to work so i can play with the goodies included in this os. also eventually when i go to install ubuntu i will need it wireless as i want to have two of these in random places in my house and I only have 1 router and its in my bedroom.
looks like im just gona buy a wireless usb nic that works out of the box with this, its only 25$ and its truly plug and play.
I use the Alfa AWUS036H on Mint and Kali with no problems. It is $39 though.
This one is $9.99 and works on my Raspberry Pi, Debian based Raspbian. And Mint and Kali.
Here's a little something for the Windows users. Especially the ones who think they do not have any maleware or viruses and surf to p0rn sites, hacker/warez sites or download from torrents.
Microsoft Network Monitor.
Run it on the network interface of your Windows machine, use the on with an IP number. You will probably be flooded with a lot "stuff" and have no idea what most of it is. Just look at network IPs. Unfortunately I have yet to find a way to get it to resolve the IPs. You can use a web site like whatismyip.com to see who is registered to that ip and it's location. If it says Russia or China you might want to see what app is using that IP. If it says Microsoft or Google it is probably OK depending on your feelings about it. There are a lot on mine that do not say google but lead to google or a marketing firm of one sort or another.
You can let it run for awhile and save the "capture" then open and read the saved capture. The longer it runs the bigger the file but the more accurate as it needs to catch the apps communicating with the mothership.
You are concerned with your machines IP# being in either the source or destination columns. The app using that conection is in a third column. Ones that have no app listed and ones where you do not recognise the app name are the ones to focus on. There will be a lot of DNS and ARP stuff with no app listed, the Source and Destination should be your local network and or the DNS server.
If you have concerns and want a good capture use the settings to limit capture file size and let it run all night and all day if you can. There is also the ability to create filers.
Linux and Windows users can use Wireshark.
sudo apt-get install wireshark
Good luck. Hope you do not find anything too disturbing. :(
You missed the point completely.
Malware and viruses are installed by visiting the sites mentioned. The malware can be keyloggers to capture and send to their mothership your banking username and password or your credit card info you used at a web site. Or maybe they install a drone that when commanded does a DDOS attack against a company they disapprove of or they are blackmailing.
I forget not everyone reads security and network articles and keeps up with what goes on in the dark net. I suppose some do not even know what the dark net is. :shrug:
Maybe wrong audience for this stuff I guess.
Thanks for the info, PG... :up:Quote:
Malware and viruses are installed by visiting the sites mentioned. The malware can be keyloggers to capture and send to their mothership your banking username and password or your credit card info you used at a web site. Or maybe they install a drone that when commanded does a DDOS attack against a company they disapprove of or they are blackmailing.
That really depends on who you're talking to. The "dark net" is data that is connected, but cannot be found by public search engines. An example is data hidden behind company extranet search pages. Google, yahoo etc can't touch it, you have to go in through the company internal search engine. Some has enormous amounts of data available if you know what search terms to use. Companies have gotten better at making private information inaccessible to the public, but not everyone takes their security responsibilities seriously enough.
The "warez" community like to think of themselves as the "dark net", but they're misappropriating the term (probably because it sounds ominous) just like the media bastardized the term "hacker" (really just someone who deeply understands stuff and makes it do novel things it wasn't designed to do) in the 80s.
Most systems are not compromised to attack the owner, they are compromised for use in further large scale operations such as DDOS attacks or spam forwarding ... that includes governments. Making YOUR machine be the one that is probing a Chinese Government server gives the real culprits plausible deniability but opens you up to reprisals.
As for government surveillance, never forget that information can be misinterpreted to suit their ends at will. Accidentally passed by a kiddie :banana::banana::banana::banana: site but left immediately? They hit you for having those images stored on your system, for example. Just because you haven't done anything wrong doesn't mean the evidence can't be made to look like you have.
I would still argue, "not really". There are sites that can only be accessed if you know the IP address, much like it was in the early days of the internet. It's the same concept though, stuff that's not available via public search engines.
Gophernet (gttp protocol from memory) died a while back btw.
that would be tough considering I dont have a computer plugged into an internet connection. other than about 5min a day to upload completed WU, and I strictly watch whats being done as I am about to hit overages on my mobile bandwith
its true, but get your point, im just trolololololin lol.
and if events of late dont prove it enough i will restate, if the government wants to look at what your doing they will regardless of how "secure" your system is, when they can look at all traffic in and out of your house it doesnt matter if you saved it when they do.
there is no such thing as privacy now adays, get used to it and embrace it, there is nothing we as general population can do, especially looking at how other governments cant do anything to stop our gov from looking at them what kind can we do about it? answer is, nothing at all, get used to it
And I won't. Like I said not everyone knows about it and dark net might well have been misappropriated but I was not looking for a semantics debate. Sorry I mentioned it, not sure why I did anyway.
@nkrader My mention of network monitoring was not directed at you personally. I was poking around in it and Wireshark and thought I would mention in the thread how useful it can be to see what is going on on your network.
If you were a genuine target, that's not a real barrier.
PG is quite right. There's a lot more going on than meets the eye, and most people are well advised to leave well enough alone. This is "deep end of the pool" stuff.
[QUOTE=NKrader;5219582]that would be tough considering I dont have a computer plugged into an internet connection. other than about 5min a day to upload completed WU, and I strictly watch whats being done as I am about to hit overages on my mobile bandwith
its true, but get your point, im just trolololololin lol.
and if events of late dont prove it enough i will restate, if the government wants to look at what your doing they will regardless of how "secure" your system is, when they can look at all traffic in and out of your house it doesnt matter if you saved it when they do.
there is no such thing as privacy now adays, get used to it and embrace it, there is nothing we as general population can do, especially looking at how other governments cant do anything to stop our gov from looking at them what kind can we do about it? answer is, nothing at all, get used to it[/QUOTE]
I thought of your statement while reading this. Scary sh1t.
New US spy satellite features world-devouring octopus
http://img.techpowerup.org/131210/nrollogo1.jpg
Some fo the reader comments are funny.
If you are bored and want to learn by all means go for it. :up:
But if you just want to know your WiFi is secure I can save you some time. Use WPA/WPA2 and a password 16 random characters long using lower and uppercase, numbers and special characters. abcd1234 takes my 1.6gz laptop 2 and half seconds to crack from a WPA dump. 54ae6B#4aD@cJJp2 will take 6 high end AMD GPUs several weeks at worst a week at best. 12 digits is probably enough but at 16 anyone willing to do what it takes to crack that password is going to get in no matter what you do.
I am looking for the article I got the info from and will update my numbers if they are off.
Well I can't find original article, it was on Ars Technica. But I found a spread sheet at a security blog with some numbers.
16 lowercase, uppercase, numbers and symbols in random pattern, no dictionary words, takes a max of 45,302,633,348,959 days to crack assuming 400,000,000,000 keyrate per seconds. Average number of days is about half that. A AMD 6990 can roughly do 9 billion a second. Anyway my point is use 12-16 character passwords using random characters, numbers and symbols and forget it.
The numbers can vary depending on hardware, crack program and method but it is agreed that at 12 characters you really want the password and at 16 you'll go elsewhere until technology improves some more.
25-GPU cluster cracks every standard Windows password in <6 hours :eek:
I think this is the original article I read. A year old so things are probably improved or gotten worse depending on point of view. Still a good read, kinda long.
Why passwords have never been weaker?and crackers have never been stronger
http://img.techpowerup.org/131210/pr...ebus-v2-51.pngQuote:
This $12,000 computer, dubbed Project Erebus v2.5 by creator d3ad0ne, contains eight AMD Radeon HD7970 GPU cards. Running version 0.10 of oclHashcat-lite, it requires just 12 hours to brute force the entire keyspace for any eight-character password containing upper- or lower-case letters, digits or symbols. It aided Team Hashcat in winning this year's Crack Me If You Can contest.
Well ... they won't get cold in the house with that thing running!Quote:
eight AMD Radeon HD7970 GPU cards
I've been playing with Hashcat on my "experimenting" machine. The GPU isn't compatible unfortunately. Exactly why I haven't worked out as it's OpenCL 1.2 etc etc. Might be a driver issue or something silly. It tore through a list of MD5 hashes I gave it in seconds even only running the CPU. oclHashCat-plus on my main rig was almost instantaneous on the same job.
hmmm downloading ubuntu currently. thinking im gonna get the second dedicated cruncher up and running, so i think im gona install this tonight on the drive thats gonna go into that computer so all i have to do is plug it in when its case/psu/etc gets here..
hmmm unsure why but im starting with "server" one and just adding the gui ontop after. wish me luck on getting this network card working lol.
If you can avoid adding the gui it will save cpu cycles that could be used for crunching. If you install BOINC from the repositories you don't need to log in for it to be crunching and you can manage BOINC remotely with just a few config file edits.
if i could get a step by step setup and commands of
-install boinc
-connect to wifi
-upload completed wu
remote? with what? i use cellphone (logmein android app for win server)
I use ConnectBot to give me remote ssh/telnet login plus there's a BOINC manager, AndroBOINC I think it's called, that lets you manage a remote BOINC install from an Android device. The same thing goes for editing the remote_hosts.cfg file as for any other remote host.
Step by step command line BOINC install and upgrade commands have been listed in this thread multiple times.
If the only available network is your WiFi hotspot it should be detected during the install. It needs to be active of course.
Uploading completed units is automatic when BOINC detects a valid internet connection, but if you want to do it from the command line use:If you want to use your Android phone as a WiFi hotspot I use an app called 3G Mobile Hotspot. It has full WPA2 security and DHCP sever built in. Chews through the battery pretty quick though.Code:boinccmd --project www.worldcommunitygrid.org update
and my windows client does not update as soon as connection is detected. is this somthing unique to linux?
i dont secure it other than mac filter and my phone has wifi hotspot built into it.
and i will just plug monitor/kvm into it as this remote crap seems like its waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay yyyyyyyyyyyyyyyyyyyyyyyyy above my head.
you don't learn to swim in the kiddie pool. if ya screw it up format and re-install. there really is not that much to do to get server up and running and boinc controlled from another PC or device. :up:
Nothing linux specific there. It's probably got to do with the retry/backoff etc timer in BOINC. If it's backed off for another hour then it will try again when the time's up but any new stuff will upload right away ... or use the command above. It's possible to write up a script that triggers the upload when the system connects to the internet, but that would take a little research.
If you have a KVM handy then yeah that's probably easier. If you start with the server install and then put a bare bones GUI environment on top you'll have less overhead than if you install the desktop version.
I use the ConnectBot app to screw with my kids' computers when I'm reading on the lounge etc rather than moving to my desktop. It's fiddly with the little touch screen and all, but if I don't have much to do it's handy.
Okay, got it installed, can't seem to find the wireless card in dmesg, and iwconfig doesn't work, ifconfig shows only lo
Well it seems from what I can find that there is a ath9k driver but you need to compile a kernel to install it. There are many guides on how to do that and if you want that would be a great learning experience. If not then I would order that $9.99 usb wireless I linked above.
http://dimitar.me/how-to-enable-the-ath9k-wireless-driver-on-ubuntu-lucid-10-04/
This link is specificaly about compiling to enable the athk9 but you will need to substitute the versions of the kernel source you are using for what he has.
Hmm, holycow.. You think I'm gonna actually be able to do this?
I really want to make it work but doubting if its worth it.
I don't even know what I'm looking for, and when running that command I can't even scroll to the top of all the information it gets.
The more I play with Linux the more pissed I get and then I realize why I always end up using windows
It is not Linux fault that Atheros does not provide a driver to the project. Someone is trying to make it work. For someone who likes to tinker and play around it can be fun. If you want easy sometimes you get it with Linux if you have compatible hardware but that is true with Windows too.
As long as there are no errors things should be working fine. Keep going. Or buy a known product to work with Linux.
If the ath9k did not have a Windows driver what would you do? With Linux there is usually at least options.
Yep went thru that link what they talk about I don't even understand.
I will be putting windows server back on these permanently.
This is just way to much trouble for 5% more points and no other gains.
EDIT:
Just went back over to shut down and saw [ath9k]
Related?
"PCI memory map error"
"probe failed with error -5"
also, to do alot of those things get get the internet working I need the internet functioning..
also after searching around for a while it does not look like any pci wireless nic are true "plug and play" just usb ones, that is unacceptable to me as I do not want a usb wireless adapter. so the usefullness of linux keeps getting smaller and smaller..
does lspci show the card?
From what I can tell the latest kernel does support the driver.
If there is another open PCI slot can you try it there?
im just gonna package the hdd and wireless nic and send it to you lol. wana help me out? :p
I have seen a 30-40% decrease in WU time and roughly 30-45% increase in points, depending on the WU and the project. Linux 64 bit chews through Vina WU's like Takeru Kobayashi through a mess of hot dogs in his prime. So yeah its worth it.
Of course, the simplest solution would be to move your router to the same room as your rigs and use a direct connection. Never had problems with Linux and Ethernet yet. *Knock on wood*
I need to apologize to you. Last night I was real foggy headed. I have health issues and sometimes I just do not think clearly.
I know how frustrating it is when you just want something to work and everything seems little else but another obstacle to getting there.
If you would please type lspci at the command prompt and see if the Atheros is listed. iwconfig and ifconfig use the driver to get their info. lspci is direct to hardware.
Mailing it to me is an option but let me do some research today and maybe D_A will be around to help. :up:
I shamlessly ripped this off from GPUGrid.net FAQs. It will be useful when WCG gets a GPU project again.
Quote:
Boinc often starts up before the NVidia drivers load, especially just after you install or upgrade. When this happens Boinc does not see the GPU, and reports Missing GPU against any GPU tasks. You can prevent this by delaying the automatic start-up of Boinc.
From a Terminal type,
This works when Boinc is installed from the repository as a service (daemon).Code:sudo update-rc.d -f boinc-client remove
sudo update-rc.d boinc-client defaults 99
If this does not work then use this method.Quote:
poppageek@ghostN ~ $ sudo service boinc-client stop
* Stopping BOINC core client: boinc ... waiting .. [ OK ]
poppageek@ghostN ~ $ sudo update-rc.d -f boinc-client remove
Removing any system startup links for /etc/init.d/boinc-client ...
/etc/rc0.d/K20boinc-client
/etc/rc1.d/K20boinc-client
/etc/rc2.d/S20boinc-client
/etc/rc3.d/S20boinc-client
/etc/rc4.d/S20boinc-client
/etc/rc5.d/S20boinc-client
/etc/rc6.d/K20boinc-client
poppageek@ghostN ~ $ sudo update-rc.d boinc-client defaults 99
Adding system startup for /etc/init.d/boinc-client ...
/etc/rc0.d/K99boinc-client -> ../init.d/boinc-client
/etc/rc1.d/K99boinc-client -> ../init.d/boinc-client
/etc/rc6.d/K99boinc-client -> ../init.d/boinc-client
/etc/rc2.d/S99boinc-client -> ../init.d/boinc-client
/etc/rc3.d/S99boinc-client -> ../init.d/boinc-client
/etc/rc4.d/S99boinc-client -> ../init.d/boinc-client
/etc/rc5.d/S99boinc-client -> ../init.d/boinc-client
poppageek@ghostN ~ $ sudo service boinc-client start
Here is someone with a very similar story as yours. At first I thought it might be you. Give it a read. Try a few of the suggestions. If you get similar results as he did you may well have a bad card or a slight variation in the chipset that is not supported.
Quote:
I recently built a desktop and installed ubuntu 12.04 64-bit. I purchased a refurbished D-link DWA-552 for this machine because help.ubuntu.com claims that the card worked "out of the box" with ubuntu and ath9k, and because of many reviews which made the same claim. However, after installing this card I have no wireless access, and ifconfig and iwconfig do not show any wireless interfaces.
Historically wireless has been a weakness of Linux, mostly because the hardware producers don't see the point in sharing their info with the Linux driver developers. That leaves them in a position where they have to reverse engineer drivers or write wrapper scripts and use Windows drivers. Ethernet networking has been a strength, with the Linux networking stack historically being so much stronger than the Windows one that Microsoft actually stole it ... and they have the f'ing hide to accuse Linux of violating their patents.
Anyway, enter this command into a terminal.This will send the output of the lspci command to a text file in your current working directory (your home directory if you opened a fresh terminal to do it) so you can open it up with a graphical text editor and copy etc more easily. Copy and paste the contents up here. It will list off every device attached to the PCI bus, both internally (like USB controllers) and externally (like your wifi card). That way we can see what devices the OS is seeing.Code:lspci > lspci-output.txt
If you cannot do what D_A suggest, I believe you said it was Ubuntu server, and you cannot use Ethernet or another WiFi device to move the file over to another machine just try to let us know if you see any errors with doing dmesg | grep -i ath9 or if it does not see ath9 at all.
By any chance did you install ssh-server when you installed the system?
If you can get it online via ethernet one of us might be able to remote in and do some of this for you.
nope didnt install ssh-server (thats the only ssh thing I saw options.)
and the only internet i have access too is my phone.. which i could tether, being that its usb it seems like it would work even easier, i will try that tonight.
i need a movieman style 2-3hour tech support phone call :) too bad he doesnt play the linux game LoL
linux really does interest me, and i really want to start learning it as it is one of few things that I cant really manage to navigate with ease.
One thing I've noticed is that it's easier to do some things in Linux than to explain them, especially when you're trouble shooting. Sometimes I do wonder if penguins are all autistic-spectrum types.
USB tethering is not something I've tried and honestly while they system will recognise the device I don't know if it will use it without specific drivers that may or may not be included by default in your install.
There are lots of sites out there with Linux Q & As. linuxquestions.org is one. Remember too, The Duck is your friend.
Example: http://duckduckgo.com/?q=tether+phone+via+usb+in+linux
---
My WCG linux question: Has anyone here compared crunching speeds for linux vs windoze for the various WCG science programs?
We know that with VINA WUs (FAHV), linux is heaps faster - around +40%. What about the others, ordinary AutoDock (faah) in particular? It's hard to assess those, because their runtimes are so variable.
I'm currently trying running MCM under windoze on some cores, and FAAH in a VM under linux on the remaining cores. The FAHV WUs run really fast, but you also get faah WUs that run slower, and you can't select just 1 type. If you abort the faah WUs in your cache or abort them during download, WCG issues 2 replacement repair WUs for each. You'll get to run only your fast FAHV WUs, but you will have caused lots of wasted crunching of extra faah WUs. WCG could fix it, but I'm sure they won't.
Unless perhaps LOTS of people ask for it to happen ... (??)
I don't think the autodock units are "broken" so they can't be "fixed". The Vina work uses a different computation method that just happens to be extremely efficient under Linux. Could Autodock be optimised better? Possibly. Though it's not as simple as just setting a couple of flags and recompiling. Windows and Linux use different memory structures so the code would need to be optimised to make suit while still producing consistent results.
As for speed, Linux is typically faster on every project, but in some cases it's only barely and the difference is less than the performance increase achieved by switching from a mechanical HDD to a SSD. HCC and FAHV are the stand out examples, the latter being SO much better it pushes Linux machines' points output up significant'y compared to Windows machines on the same project. Most project still award more points to Windows machines, however, due to the disparity between BOINC benchmarks on Windows and Linux. There has been significant discussion about that in the past but I don't think it's ever been resolved.
Sorry, D_A, but you misunderstood me. I didn't mean to imply that the AutoDock WUs have a problem, other than that they don't show a huge speed advantage when run under Linux.
I want to run only FAHV WUs under Linux, with other WU types under Windows, to maximise throughput of my machines.
But the Linux machines have to accept AutoDock WUs as well as FAHV ones. That's what I'd like fixed.
WCG could:
1) (easy) Divert nearly all of the faah WUs sent out, to Windows and Mac boxes, sending any needed extra FAHV ones to Linux boxes, or
2) (harder) Run the FAAH project as 2 sub-projects, letting us choose the WU types that we want. The FAAH project would have 2 selection flags on the device profile pages, 1 for AutoDock, the other for VINA.
Enabling the diversion of WUs of various types to the machines on which they run fastest would enable more efficient use of our crunching resources, and raise WCG's total throughput.
Thanks for the info that most of the programs run faster under Linux. I thought that it was the opposite, except for VINA.
ATM, I'm running all machines with Win7-x64 native, and Debian 7.2 in VMs under VMWare. I will allocate more cores to the Linux VMs and fewer to Windows.
I tried VirtualBox, but it seems rather inefficient. OTOH the overhead of WMWare seems to be negligible.
Without me having to dig for the info, does anyone know how to get the VMs to autostart at host system boot time?
why run virtual? not just run full fledged linux install?
The catch is, as far as I know FAVH is the only project that SCORES better on Linux. The BOINC benchmarks return higher on Windows, or certainly used to, and then take more time to do the work units. Since Windows results are compared to Windows results, they tend to return more points. While Linux tends to do the work faster it also benchmarks lower (benchmarks more aggressively optimised by default in Windows compilers than in Linux compilers) so less time with lower benchmark gives less points, even though more work gets done. VINA is the first science app that is SO much faster under Linux that it scores heavily in Linux's favour. HCC was up to 50% faster on Linux as well, but returned less points. Generally speaking, Linux has not been the OS of choice for points hounds until FAVH. It's advantages have been more to do with the lack of Microsoft Tax in setting up large numbers of machines and stability, not needing to be restarted (or doing so automatically) every other Tuesdays due to automatic updates.
I concur with NKRaider. Why not just run native Linux instead of running VMs? It's more efficient than running in a VM and less complicated to administer.
If I was able to get on ethernet webs and have someone remote in should I reinstall with ssh server?
Looks like the parts for the Linux dedicated will be here on Tuesday so that night or most likely wed I could arrange to use a "real" network, but I will be testing USB tether after it all gets here.
I'd suggest installing the SSH server on install, yes. To get someone to log in you'll need to know your external IP address, possibly open a port in the router firewall (that's assuming the router even has a firewall), and give the person you're letting in the username and password for the system.
If you decide to do this, you might want to enable port forwarding in your router and forward port 22 to the IP of the machine in question. If it's the only machine on the local network just turning off the firewall temporarily might also work, but that's not the ideal solution.
How To install and configure command line only Ubuntu server and boinc-client, and manage it from another machine.
This guide assumes you will install Ubuntu Server and manage and control Boinc on the server from a second PC, running Linux with a desktop GUI or running Windows. The LTS (Long Term Support)version is recommended.
To see if your hardware, especially network gear works OK with Ubuntu you can download a Live CD/DVD of Ubuntu, boot from it and see if you have internet access by opening a browser and surfing the web, or if other hardware does/does not work OK.
How to Install Ubuntu Server- A step-by-step picture guide and video on how to install Ubuntu Server. (In step 11 - Check OpenSSH Server)
After install and reboot:
Update system
If you did not check OpenSSH Server during install or not sure if you did:Code:sudo apt-get update
Install boinc-clientCode:sudo apt-get install openssh-client
sudo apt-get install openssh-server
DO NOT install boinc-manager as it will then install X and a desktopCode:sudo apt-get install boinc-client
Add the IP# of the machine running Boinc-Manager, that you will manage the server from, to the remote_hosts.cfg file. Replace 192.168.1.111 with the IP# of your machine that you will control the server from. NOT the IP# of the Ubuntu server.
Restart boinc to read the changed config file.Code:sudo echo "192.168.1.111" > /etc/boinc-client/remote_hosts.cfg
Get IP# of Ubuntu Server.Code:sudo service boinc-client restart
ifconfig
eth0 is the ethernet, wired, network interface. A wireless will be wlan0 or wlan1. Get the IP for which ever you are using.Quote:
poppageek@ghostN ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 50:e5:49:92:d2:0a
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::52e5:49ff:fe92:d3a0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:465915 errors:36 dropped:0 overruns:36 frame:0
TX packets:685327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:258852840 (258.8 MB) TX bytes:818445853 (818.4 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1394426 errors:0 dropped:0 overruns:0 frame:0
TX packets:1394426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10258786746 (10.2 GB) TX bytes:10258786746 (10.2 GB)
wlan0 Link encap:Ethernet HWaddr e4:d5:3d:37:8e:58
inet addr:192.168.1.127 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::e6d5:3dff:fe73:e885/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:280416 errors:0 dropped:0 overruns:0 frame:0
TX packets:113209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:277600682 (277.6 MB) TX bytes:15356507 (15.3 MB)
Add World Community Grid as a project.
At this point choose whether to continue using command line or skip ahead to section below: "From your desktop PC using Boinc Manager:"
From Command Line from machine running Boinc Manager:
Go to the machine you will manage the server from and ssh into the server. For Windows download and install PuTTY On a Linux machine Open a terminal window, Cntrl + ALT + T. Type in:
Replace the IP# below with IP# of the Ubuntu Server.
Enter username and password of the server.Code:ssh 192.168.1.101
Find your WCG Account Key.
Change username to your WCG account name and password
Code:boinccmd --lookup_account http://www.worldcommunitygrid.org yourusername password
Quote:
poppageek@ghostN /etc/ssh $ boinccmd --lookup_account http://www.worldcommunitygrid.org poppageek notmypw
status: Success
poll status: operation in progress
account key: 8777c3e6b776c232ao5ea555790o6b32
Use Copy and Paste to copy the account key in the output and paste at the end of the line to attach to project.
Code:boinccmd --host localhost --project_attach http://www.worldcommunitygrid.org 8777c3e6b776c232ao5ea555790o6b32
From your desktop PC using Boinc Manager:
Advanced > Select Computer. enter IP# of Ubuntu Server
http://img.techpowerup.org/131216/Selection_010.png
Tools > Add Project
http://img.techpowerup.org/131216/Selection_009.png
Select New or Existing. Enter username and password.
http://img.techpowerup.org/131216/Selection_011.png
When you are done and want Boinc Manager to display the local machines client: Advanced > Select Computer. enter localhost or the IP# of the desktop.
Listing of boinccmd commands
boinccmd man page
To display boinc man page from command line
Code:man boinccmd
Please advise of errors.
1. dual quad core opteron 8356 with 4 gigs ram Ubuntu server 64bit 3.2.0-23-generic kernel RAC 3616
2. dual quad core opteron 8356 with 2 gigs ram Ubuntu server 64bit 3.5.0-43-generic kernel RAC 3343
1. Boinc apps run with PRiority of 20 NIce 0
2. Boinc apps run with PRiority of 30 NIce 10
1. shows 2.5 gigs ram free
2. shows .5 gigs ram free
Try this:
and rebootCode:sudo echo "options ath9k nohwcrypt=1" > /etc/modprobe.d/ath9k.conf
This may or may not help:
http://www.linuxplained.com/how-to-f...se-pangolin/2/
should be getting the chassis tonight for this rig so it will be easier to play with as i wont have to setup a cardboard rig everytime I want to try to get it working.
lets hope your comment helps d_a :)
if not, i reinstalled last night with ssh server (i think)
Both machines have <no_priority_change>1</no_priority_change> in the cc_config.xml and SCHEDULE="0" in /etc/default/boinc-client. Yet #2 keeps starting new apps with priority 39 and nice 19. I even tried setting nice and priority values for boinc in the /etc/security/limits.conf. :brick:
I can put renice in crontab but I would like to know what keeps setting the PRiority and NIce values on that machine differently than the other. :shakes:
Have tried many searches and cannot find anything.
Depends on the project.
MCM1 follows the flag rules as does, I believe, FAAH.
FAHV and CEP, on the other hand, do not. Even though you may set it or reset it using cron, each time it checkpoints it changes back to the project determined settings.
I believe the above to be accurate based on observation and discussion with Rob at WCG
https://secure.worldcommunitygrid.or...ffset,0#439147
FAHV is one doing it and I THINK a CEP2 did last night. That info saves me alot of additional looking.
I found the variables in the init script for boinc-client that sets priority and nice but have yet to figure out what sets the variables. Never was very good at shell scripting and it's been a loooong time.:(
Quote:
POLICY="$1"
PRIO="$2"
NICE="$3"
shift 3
for i in "$@"; do
chrt -p $POLICY $PRIO $i || return
# increasing compatibility with older versions of renice
# in reaction to bug report #600134
renice $NICE -p $i > /dev/null || renice -n $NICE -p $i
done
added link to mine above whilst you were posting.
If you run just MCM1 you can let the kernel do the scheduling and then watch the processor lost time dwindle to V small.
On FAHV.....No matter what I tried, and that included a cron job every minute, on this rig I cannot get realtime and cpu time anywhere near each other. Did not try under 1 min
Good thread. Let me know if you take this up with Berkely.
I have edited the Ubuntu Server post about a dozen times now trying to make sure I got everything needed and as clear as I could. As always any suggestions or corrections are appreciated.
:toast:
How to Use a GUI on a Ubuntu Server
OK for those who want to have a dedicated cruncher running Ubuntu server but want a GUI available when something needs to be done on the server. The link shows how to install the LightDM then configure the server to start in text mode and shows how to start the desktop once you are logged in. Then exit the desktop so X and LDM will not steal your CPU cycles.
I have not tried this and I am not familiar with the LightDM. Search Google Images to see what it looks like.
Someone just gave me a plate of warm chocolate chips cookies. GOTTA GO! :D
http://i163.photobucket.com/albums/t...psfnm7hiix.jpg
So both are done and able to be used all the time :-)
Entered that command d_a and didn't change anything still can't see with ifconfig and repeating the dmesg command gets the same error
I am thinking maybe it is a hardware conflict. :shrug:
Sure looks good. :up:
couldnt see any wired ethernet devices either. used
didnt see anything, was i going in the right direction?Quote:
sudo vi /etc/network/interfaces
i cannot get it to connect to wired connection..
Yes you are in right direction and should see something like this for at least the wired ethernet:
Quote:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth1
iface eth1 inet dhcp
Using
dmesg | grep eth0
or
lspci
can you see what chipset it reports? If not what is model number of MB?
Reports nvidia and loading reverse engineered driver
http://i163.photobucket.com/albums/t...pstdik9w9l.jpg
yep, dont even worry about my problems anymore,
installed windows server last night and 35seconds later was connected to wifi and crunching away
Hello reader of the unofficial Linux Help and Tutorial Thread.
Here at the LH&TT we want you to know what you can expect.
First we have a state-of-the-art call center.
http://img.techpowerup.org/131220/Callcentre.jpg
Where you can expect a friendly greeting from a smiling face.
http://img.techpowerup.org/131220/th...c8af8fa778.jpg
We recruit our staff from the far reaches of the internet selecting only the most skilled and friendly people.
http://img.techpowerup.org/131220/messy-office.jpg
All call center techs attend training seminars on a regular basis.(yes that is a real girl.)
http://img.techpowerup.org/131220/lanparty.jpg
We are aware that Linux can be a challenging adventure, for some more than others...
http://img.techpowerup.org/131220/10642f1.resized.jpg
But you can rest assured all your concerns will receive the respect you deserve and the attention you require.
http://img.techpowerup.org/131220/Ol...BeFunnyToo.jpg
And as always we provide a 100% money back guarantee.
You Satisfaction is our single minded goal.
We will stick with you to the end.
http://img.techpowerup.org/131220/cr...-photos-16.jpg
Butt! If for any reason you are unhappy with the services provided please see Rico at the customer service desk.
http://img.techpowerup.org/131220/Do...22-540-415.jpg
Don't thank us! It is what we are paid to do. :)
As a further service by the staff of the LH&TT we have provided 2 valuable links for those needing immediate answers and more specific help.
Linux Help #1
Linux Help #2
And if that fails. Option #3
But then you would have missed all that opportunity to whine and complain.
I have 5 crunchers running Vista 64. I have 4 running Linux. There are reasons for each to be running what they are.
I personally could care less what OS someone runs. I am just trying to help crunchers who might want to use Linux. How much help I actually am I have no real idea. But I have never tried to sell anyone on anything.
I knew I forgot something...
After many weeks of pleading poverty Rie and I finally got to see the look on the kids faces when their presents DID materialise after all. Getting one over on the kids when they are teenagers and know me so well for my dry humour is less than easy these days.
They had bought me a Christmas hat .... It seems though that they have changed their tune after all...
http://www.lakecityquietpills.com/ph...9219913472.png
My best wishes to all the Linux boys
OMG I am no longer "the pretty one". :(:shakes:
Hmm those whiskers are getting past noob almost to learned. :up:
:toast:
An interesting read for them that find computing systems interesting.
Quote:
When the USS Zumwalt (DDG 1000) puts to sea later this year, it will be different from any other ship in the Navy's fleet in many ways. The $3.5 billon ship is designed for stealth, survivability, and firepower, and it's packed with advanced technology. And at the heart of its operations is a virtual data center powered by off-the-shelf server hardware, various flavors of Linux, and over 6 million lines of software code.
The Navy?s newest warship is powered by LinuxQuote:
In the past, you couldn't just put off-the-shelf computer systems aboard a ship for mission critical tasks?when I was aboard the USS Iowa, we had to shut down non-tactical systems before the guns were fired because the shock and vibration would crash systems hard. So typically, individual computer systems are ruggedized. But that adds heavily to the cost of the systems and makes it more difficult to maintain them.
The design of the Zumwalt solves that problem by using off-the-shelf hardware?mostly IBM blade servers running Red Hat Linux?and putting it in a ruggedized server room. Those ruggedized server rooms are called Electronic Modular Enclosures (EMEs), sixteen self-contained, mini data centers built by Raytheon.
The last few days I have been working on a project that I thought I might share as it seems a good opportunity to show some Linux commands and configuration. It is inspired mostly by the HaK5 Pineapple project. I find the concept fascinating and thought about getting one to play with. Then I got to thinking I might try and do something similar with my 1st gen Raspberry Pi. While only 256 megs of ram and a 700mz cpu, networking stuff does not require much memory or mz. I am using all command line as a GUI will slow things down. A SD card, 4gigs or more, is used as a boot and storage device.
My goals.
Battery powered Raspberry Pi with 2 WiFi interfaces. One in ad-hoc mode the other monitor mode. The monitor mode is for scanning for WiFi networks and devices. The ad-hoc so I can ssh in from laptop and manage and control Raspberry Pi.
Wardriving. Simple really. Use an old Garmin GPS and Alfa AWUS036H along with Kismet to ride around and map WiFi networks. I mean literally. The capture files will be imported into a map showing the APs.
Since the Pi has 2 USB ports and I do not want to use a USB hub they are 2 projects although overlapping in setup. The battery is PowerGen 13000mAh and has run the Pi and 2 WiFi interfaces for 2 days non-stop. It has a 2.1 amp output port so enough power even for the Alfa. The Alfa has a RealTek chipset known for working well in monitor mode and comes with a high gain directional antenna as well as a high gain omni antenna. It is also easy to double the power setting on the Alfa to 20db.
http://img.techpowerup.org/140101/IM..._122739390.jpg
I have tried 3 Linux distros that run on the Pi so far and am settling for PWNPi At the time of this writting it appears as though their web site has been hacked. PWNPi is a debian/raspbian based penetration test distro similar to Kali or Backtrack. I think it will be my choice as it comes with all the utilities I want already installed as well as the drivers for my hardware.
Arch was noticeably faster and lightweight compared to the debian based distros but it is also different enough in commands and utilities that it added a learning curve I am not interested in now. Rasbian and PWnPi are familiar and more comfortable for now. Raspbian is a nice and well thought out distro but it's focus is on education, programming and has a lot I do not need and missing a lot I need.
I will comment here that in my opinion breaking into someones WiFi, a network protected with a password, is akin to breaking into their house. If the network is open that is different. I do not break into homes or networks and only an a$$hat would. I simply find this an interesting project and it is forcing me to relearn some things not used for a long time and hopefully learn a few things along the way.
Also it can be interesting just seeing the names, ESSID, of some WiFi networks. I have seen "SheDaBoss', "F**KoFF", "NSA SURVEILLANCE" and "FBI Van". Nice to see people still have a sense of humor. If you know AT&T uses 2Wire WiFi modems then you can get an idea who is winning in a neighborhood. AT&T or Comcast. Scanning for clients shows even Smartphones, Rokus, Xbox and more. It is also surprising to see how many are open, with no passwords, and how many are using very easy to hack settings. All a noob needs to do is watche a 15 minute youtube video and hack neighbors wifi. Downloads all sorts of nasty crap on their IP#. I know of several cases where people had to prove it was not them that downloaded the child :banana::banana::banana::banana:.
All this is also useful to see how easy it is to get into your own network or maybe test friends and families networks and to see what is going on.
Now to the command line.
First issue I ran into was using the dd command in Linux to copy the PWNPi.img to a SD card. I could not get it to boot. My mistake turned out to be using a partition name instead of the device name.
Correct way.
dd if=/home/poppageek/Downloads/PWNPi.img of=/dev/sdb
I had been adding a 1 to the end of /dev/sdb so I had /dev/sdb1 :rolleyes:
Then I discovered that of the 4 gigs on the SD card I had only 150 megs free space on the Linux partition. But the Linux partition was only about 3gigs. The VFat boot part was only 57 megs. The example below was done after I formated the 670 meg part.
showed me 670 megs of the SD card was unused, free space. Scanning networks can create a lot of files and several can get very large. I needed this space and being on a seperate partition I did not have to worry about it filling the OS or root partition.Code:root@pwnpi:/# fdisk -l
Disk /dev/mmcblk0: 3904 MB, 3904897024 bytes
4 heads, 16 sectors/track, 119168 cylinders, total 7626752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f06a6
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 6266879 3072000 83 Linux
/dev/mmcblk0p3 6268928 7626751 678912 83 Linux
So on my laptop running Mint I opened Menu > Preferences > Disks and choose the SD card then the unused partition at the end of the "disk" or card and formatted it using ext4. Here is how to format and mount a partition or entire disk using command line. Instead of using ext3 though use the newer ext4.
Putting the SD card back into the Pi and booting I now wanted the new partion to be mounted on bootup.
First I did a mount command.
On the last line I see that the main linux partition is on /dev/mmcblk0p1. I know from Disks on my laptop that the new partition is the third one. So the new part should be /dev/mmcblk0p3. Next I need a directory to mount the new partition under. So cd / [ENTER] This puts me in the / directory and mkdir /data to create a directory named data. Now to test itQuote:
/dev/root on / type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=118872k,nr_inodes=29718,mode=755 )
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=23788k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=47560k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437, iocharset=ascii,shortname=mixed,errors=remount-ro)
-t ext4 tells mount the type is linux file system ext4Code:mount -t ext4 /dev/mmcblk0p3 /data
No errors so I ls -la /data and I see
To have /data mounted at boot I first backed up the file about to edited:Quote:
drwx------ 3 1000 1000 4096 Jan 1 17:17 .
drwxr-xr-x 24 root root 36864 Jan 1 17:41 ..
drwx------ 2 root root 16384 Jan 1 17:17 lost+found
sudo cp /etc/fstab /etc/fstab.org
and then added this line to /etc/fstab
So my /etc/fstab looks like:Code:/dev/mmcblk0p3 /data ext4 defaults,noatime 0 2
Make real sure it is all correct before you save it and reboot.Code:root@pwnpi:/# more /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
/dev/mmcblk0p3 /data ext4 defaults,noatime 0 2
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
More info on /etc/fstab.
Also in /etc is the mtab. this is a file that keeps track of all mounted file systems, not just what is mounted at boot. It would include all from fstab plus any CD/DVD roms or USB memory sticks.
WORK IN PROGRESS.
Now for figuring out ad-hoc WiFi. I have never used ad-hoc so this is a learning experience for me.
At the very start I hit a wall that really baffles me. I have used the ifconfig thousands of times and never has it ever failed to do ask I asked as long as I asked correctly. But no matter what I tried ifconfig wlan0 down would do nothing. With dementia slowly making itself known I blamed myself. I was forgetting something or doing something stupid. I spent an entire night trying to find why I could not bring down a wireless interface.
After many searches I finally found someone on the Raspberry Pi forums having the same problem. It turns out Raspian and Raspbian based distros have a program called ifpulgd. It is a pesky little daemon that will quicker than you can blink bring an interface up, even one you just brought down. It is what is called a "helpful" app to make your life easier.:mad:
Obviously if you are using the Pi for what it was intended this is a helpful program to bring up interfaces you plug in and out. If you want full control of the OS, programs and hardware, not so helpful. <iface> being wlan0 for me.
To bring the daemon down:
To bring the daemon back up.Code:sudo ifplugd -S -i <iface>
Since I will be writing scripts to configure and bring up and down interfaces 2 more line are no problem.Code:sudo ifplugd -R -i <iface>
These commands can be entered on the command line one at a time but now that I know they work I put them in a shell script.
To execute the script I first chmod +x script_name.sh then at the command line sh script_name.sh in the directory the script is in or type the entire pathname with the scripts name.Code:#!/bin/sh
ifplugd -S -i wlan1
/sbin/ifconfig wlan1 down
/sbin/iwconfig wlan1 mode ad-hoc
/sbin/iwconfig wlan1 channel 3
/sbin/iwconfig wlan1 enc off
/sbin/iwconfig wlan1 essid raspi
/sbin/ifconfig wlan1 168.254.154.242 netmask 255.255.255.0
I am not using sudo as I am running PWNPi as root. On a pentest distro this normal. On any other it is not recommended at all. Use sudo and do not use root account unless you really need to.
Notice there are 2 commands being used here that look alike. ifconfig and iwconfig. iwconfig is very powerful and has many settings it can change if the driver supports it.
The internal wifi interface in my laptop does not support ad-hoc. So I am using a generic USB that does. While the laptop sees the ESSID raspi it will not connect and there are no errors.
And again it was a helpful program that kept my laptop from joining the ad-hoc network. The network-manager.
On the laptop running Mint:
I am not using encryption or passwords. iwconfig has settings for passwords, encryption types and many more.Code:sudo service network-manager stop
sudo ifconfig wlan3 down
sudo iwconfig wlan3 mode ad-hoc
sudo iwconfig wlan3 channel 1
sudo iwconfig wlan3 enc off
sudo iwconfig wlan3 essid raspi
sudo ifconfig wlan3 169.254.154.243 netmask 255.255.255.0
sudo ifconfig wlan3 up
ssh root@169.254.154.242