Back
[01:41:21] <tomp> tomp is now known as tomp3
[01:47:17] <tomp3> are there tutorials for heekscad?
[01:59:32] <roh> some in the wiki on code.google
[02:18:27] <JymmmEMC> LawrenceG: Mmmmm PURPLE
http://dealextreme.com/details.dx/sku.18559
[02:18:48] <JymmmEMC> LawrenceG: Ohhhhhhh BLUE
http://dealextreme.com/details.dx/sku.12806
[02:24:55] <tomp3> roh: i cant see any, i looked and i searched 'example' 'sample' 'tutor' tutorial' 'howto'... all ng. what did you find?
[02:28:56] <roh> see
http://code.google.com/p/heekscad/wiki/UsingHeeksCAD and
http://code.google.com/p/heekscnc/wiki/HowToUse
[02:31:26] <roh> its still in its beginnings, but yet a bit useable
[02:31:50] <roh> i added ubuntu 8.10 .deb packages to try which work well for me
[02:32:31] <roh> see
http://code.google.com/p/heekscad/wiki/InstallingOnUbuntu
[02:36:36] <danielw> danielw is now known as Guest35259
[02:38:02] <Guest35259> hi, i dont know if anyone can help me, i'm a windows guy. i have spent days trying to figure this out on my own, but i cannot understand how to get the mesa 5i20 board working with emc2
[02:38:33] <jmkasunich> that is a very generic question
[02:38:50] <Guest35259> i have 3 stepper drivers that i want to connect to it, using a 7142ta breakout board
[02:39:30] <Guest35259> well i'm trying to understand the hostmot2 install
[02:39:49] <jmkasunich> tell us what you did, and what isn't working
[02:40:23] <jmkasunich> there are a lot of steps in setting something like this up (just like there are a lot of steps in building a CNC machine in the first place)
[02:40:26] <Guest35259> well i cant figure out the command stuff to install the firmware
[02:40:43] <Guest35259> i am COMPLETELY new to linux
[02:40:53] <jmkasunich> have you ever used DOS?
[02:41:05] <jmkasunich> in other words, are you old? ;-)
[02:41:14] <roh> ;)
[02:41:20] <Guest35259> i've tried searching, but everything i found assumes that i have some sort of knolege on the subject to begin with
[02:41:32] <jmkasunich> have you ever used DOS?
[02:41:34] <Guest35259> haha no, i'm 27, and no i havent used DOS
[02:41:38] <jmkasunich> damn
[02:41:50] <Guest35259> well, sorta..
[02:41:56] <jmkasunich> windows has produced an entire generation of people for whom the command line is a mystery
[02:42:44] <Guest35259> yea, unfortunately i didnt get into computers till i was already in my 20's
[02:43:04] <roh> * roh did his homework on command lines , so will prolly not be very helpful
[02:43:37] <jmkasunich> Guest35259: are you on your EMC Linux PC right now? or are you talking to us from a windows box?
[02:43:58] <Guest35259> windows, but i have a emc2 box right next to me, running
[02:44:06] <jmkasunich> is the EMC2 box on the network?
[02:44:35] <Guest35259> havent figured how to get it on the network yet either
[02:44:41] <Guest35259> but may not need to
[02:44:48] <jmkasunich> you stick an ethernet cable in the back
[02:44:54] <Guest35259> haha
[02:45:08] <jmkasunich> IMO, a Linux computer that isn't hooked to the net is only half a computer
[02:45:14] <roh> * roh humms and doesnt want to know how many >1kw spindles are connected to the web with badly condfigured and secured linux installs... or even whats out there in win32 *shiver*
[02:45:23] <jmkasunich> all the free software comes from the net, the docs are on the net, the people who can help you are on the net
[02:45:49] <Guest35259> yea, done that, i cannt get it to work with my windows network, which has the internet connection
[02:45:59] <roh> in generic: if you are not sure: put it behind some nat (e.g. some openwrt router)
[02:46:17] <jmkasunich> when you say "windows network", what do you mean?
[02:46:22] <Guest35259> i can run a cat5 to the wireless router, but i was trying to figure out to use a network hub with it
[02:46:43] <jmkasunich> a hub is just a way to turn one cat5 into more than one cat5
[02:46:54] <roh> allows for updates, easy updates/install and protects from 'open ports'/bad passwords
[02:46:59] <jmkasunich> if the router has a spare connector you shouldn't need the hub
[02:47:11] <Guest35259> i wanted it wired to my laptop so i can share files and use the laptop's wireless connection
[02:47:37] <jmkasunich> oh
[02:47:58] <jmkasunich> connecting a linux PC to a windows PC is not emc specific, the internet can probably tell you how
[02:48:03] <roh> in generic the #'lan' pots and the wifi are in the same 'domain' and ipspace. the 'wan' is 'the outside ip'
[02:48:14] <jmkasunich> thankfully I don't have to deal with that
[02:48:26] <jmkasunich> (no windows PCs here)
[02:48:39] <roh> just use a openwrt device or some other plastics for that... e.g. a fritzbox
[02:48:45] <Guest35259> yea, i'm not too concerned with the network stuff yet, i mainly came here for emc help
[02:48:57] <roh> also saves power (only uses 5-15W)
[02:49:03] <jmkasunich> ideally the linux PC is connected directly to the router, it can deal with the internet better than windows can
[02:49:10] <jmkasunich> yeah, sorry about the digression to networking
[02:49:24] <jmkasunich> but life is a lot easier if you can paste error messages, etc
[02:49:44] <Guest35259> lol no prob, i mean, i appreciate the help, i just didnt wanna bother you guys with that stuff because i can usually figure it out eventually
[02:49:50] <jmkasunich> in other words, if you are talking to me from your linux PC instead of switching keyboards all the time
[02:49:59] <Guest35259> gotcha
[02:50:00] <Guest35259> well
[02:50:05] <jmkasunich> anyway, lets take a stab at it
[02:50:12] <Guest35259> i can run the cat5 to the router
[02:50:20] <jmkasunich> on the linux PC, open a shell (do you know how to do that?)
[02:50:34] <jmkasunich> applications->accessories->terminal
[02:50:49] <Guest35259> yep, now that you told me what a shell is lol
[02:51:12] <jmkasunich> I'm on ubuntu 6.06, I bet you are on 8.04, so some of the GUI menus and such might not be the same
[02:51:13] <Guest35259> most of my problem is the terminology
[02:51:16] <tomp3> roh: thanks for the packages, do you think they'd run on the standard 8.04 that emc2 uses?
[02:51:20] <Guest35259> yea, 8.04
[02:51:25] <jmkasunich> the shell (aka command line) will be pretty consistant
[02:51:49] <Guest35259> yea, i got it open now
[02:51:52] <jmkasunich> so, you opened the shell/terminal/command line, and you have a prompt
[02:52:18] <roh> tomp3 could be. you would need the opencascade stuff
[02:52:24] <jmkasunich> back in the dos days, "dir" was the command to list files in a directory - the linux version is "ls"
[02:52:31] <toastatwork> does anyone know what the "lgain" channel does on linux mixers
[02:52:35] <jmkasunich> type ls and hit enter, you should get a list of files
[02:52:39] <roh> tomp3 they are compiled on 8.10 i386 so i can only be sure for that
[02:53:16] <jmkasunich> Guest35259: still with me?
[02:53:20] <roh> we all have 8.10 or so on out notebooks and 8.04 only on servers and the mill-machine
[02:53:26] <Guest35259> yea, i got a list of directories
[02:53:30] <jmkasunich> ok
[02:53:37] <Guest35259> desktop documents, ect
[02:53:39] <jmkasunich> now a very important linux command:
[02:53:41] <jmkasunich> "man"
[02:53:47] <jmkasunich> stands for "manual page"
[02:53:53] <jmkasunich> type "man ls", and hit enter
[02:53:55] <roh> and "apropos"
[02:54:09] <roh> helps finding stuff man knows about
[02:54:16] <jmkasunich> roh: yeah, in due time ;-)
[02:54:43] <Guest35259> got it
[02:54:57] <jmkasunich> Guest35259: so you've seen the man page for "ls"
[02:55:08] <jmkasunich> you can hit "q" to get back to the prompt
[02:55:16] <Guest35259> yup
[02:55:23] <Guest35259> you can call me dan if it's easier
[02:56:18] <jmkasunich> it's not - I type "gue" and hit tab, and the IRC client completes the name
[02:56:23] <tomp3> tomp3 is now known as DanIfItsEasier
[02:56:32] <jmkasunich> that's called "tab completion" and many linux programs do it
[02:56:35] <DanIfItsEasier> ;)
[02:56:38] <Guest35259> haha
[02:56:41] <DanIfItsEasier> DanIfItsEasier is now known as tomp3
[02:57:35] <jmkasunich> ok, now lets get to something EMC2 related
[02:57:49] <jmkasunich> "man hostmot2" will show you the manual page for the hostmot driver
[02:58:00] <jmkasunich> "man hm2_pci" will show you another related man page
[02:58:25] <Guest35259> see this is where i got stuck
[02:58:33] <jmkasunich> actually, lets back up
[02:58:41] <Guest35259> ok
[02:58:43] <jmkasunich> there is a sample stepper configuration for hm2
[02:58:52] <jmkasunich> you should probably start with that one
[02:59:31] <Guest35259> right... i guess where i have part of the problem is, i dont know if i'm supposed to be installing something for the 5i20
[02:59:51] <jmkasunich> you should start with the included sample config
[03:00:19] <Guest35259> yea, i found that earlier
[03:00:19] <jmkasunich> what happens if you just try starting EMC - do it from the command line - type "emc" and hit enter
[03:00:40] <jmkasunich> it should pop up a window with a list of sample configurations
[03:01:18] <Guest35259> right
[03:01:28] <jmkasunich> pick the hm2-stepper/5i20 one
[03:01:29] <Guest35259> and i've tried messing with the 5i20 one
[03:01:36] <Guest35259> ok
[03:01:43] <jmkasunich> I _think_ it should ask you if you want to copy it to your home directory
[03:01:59] <jmkasunich> if so, say yes - that will make a copy of the sample, so you can modify it later
[03:02:33] <Guest35259> i dont see where it says that anywhere
[03:02:59] <Guest35259> (the copy/home directory thing)
[03:03:04] <jmkasunich> hmm
[03:03:28] <Guest35259> i just cicked on the 5i20 and hit ok, then it opened emc2 axis
[03:03:31] <jmkasunich> I don't either, but that is because I don't have a normal EMC install on this computer - I have a development install that I compiled myself
[03:03:40] <tomp3> hes not running rip
[03:03:46] <jmkasunich> ok, if it opened axis, then a lot of stuff is already working
[03:03:49] <jmkasunich> tomp3: I know
[03:04:56] <jmkasunich> if you are seeing the axis window, then 1) the driver is loading, and finding the card, 2) the firmware is getting loaded, 3) all the hal pins and signals are getting connected, and 4) the rest of EMC is starting up
[03:05:03] <jmkasunich> so, what is the actual problem?
[03:06:24] <Guest35259> well i guess most of it was i was unsure of that.. i wasnt sure if i had to install drivers, ect. the instructions i found told me to load the firmware, and all this other stuff, so i just diodnt know what i had to do because it appeared that there was stuff already installed (which i didnt knowingly do)
[03:06:49] <jmkasunich> sample configurations do a lot of stuff for you
[03:07:07] <jmkasunich> the instructions were probably assuming you are starting from scratch
[03:07:22] <Guest35259> that's what had me really confused
[03:07:31] <jmkasunich> starting from scratch is very flexible and powerfull, but not a good idea for a linux newbid
[03:07:36] <jmkasunich> newbie
[03:08:13] <Guest35259> i guess the thing to figure out now is pin configuration
[03:08:39] <jmkasunich> first thing is to make sure you have a copy of the sample config, so you can edit it
[03:08:47] <jmkasunich> the original sample is read-only
[03:08:58] <jmkasunich> look at the shell where you started EMC
[03:09:06] <Guest35259> oh ok.. i think i saw that earlier
[03:09:08] <jmkasunich> you might have to scroll back a few lines
[03:09:10] <Guest35259> lemme check
[03:09:26] <jmkasunich> a line or two after the place where you typed "emc", you'll see something like this:
[03:09:35] <jmkasunich> jmkasunich@mahan:~/emcdev/emc2head$ emc
[03:09:35] <jmkasunich> EMC2 - 2.4.0~pre
[03:09:35] <jmkasunich> Machine configuration directory is '/home/jmkasunich/emcdev/emc2head/configs/hm2-servo'
[03:09:35] <jmkasunich> Machine configuration file is '5i20.ini'
[03:09:35] <jmkasunich> Starting EMC2...
[03:10:18] <jmkasunich> if the "machine configuration directory" starts with /home/(your-linux-username), then you have a personal copy of the sample, and all is good
[03:10:51] <jmkasunich> this is where I'd normally ask you to paste those lines from your shell window, so I could interpret them
[03:12:51] <Guest35259> gotcha, ok
[03:12:57] <Guest35259> give me one second
[03:14:42] <Guest35259> hmm guess i'm not doing something right
[03:15:47] <Guest35259> ok got it
[03:19:28] <danielw> opps guess it didnt like that
[03:19:38] <jmkasunich> danielw: are you the former Guest35259?
[03:19:41] <danielw> yep
[03:19:44] <danielw> danielw is now known as Guest76920
[03:19:58] <jmkasunich> still on windows?
[03:20:01] <Guest76920> yep
[03:20:21] <Guest76920> but i saved the text to my flash and i have it on the windows system
[03:20:21] <jmkasunich> ok (I thought maybe since it came in with a username you were using a linux chat)
[03:20:28] <jmkasunich> ah
[03:20:39] <jmkasunich> and you tried to paste a bunch of text to IRC?
[03:20:43] <Guest76920> no, i got booted for posting the text because i guess it was too long
[03:20:47] <jmkasunich> yeah
[03:20:57] <jmkasunich> it said: Guest35259 has quit (Excess Flood)
[03:21:12] <jmkasunich> you can usually post a half-dozen lines or so
[03:21:22] <jmkasunich> any more than that, and it is better to post it somewhere and link to it
[03:21:34] <jmkasunich> there is a website called pastebin.ca that is very handy for that
[03:21:40] <Guest76920> ok lemme try that
[03:22:12] <Guest76920> http://pastebin.ca/1417972
[03:22:33] <jmkasunich> oh, these are your config files
[03:22:46] <Guest76920> man that's a handy site
[03:22:49] <jmkasunich> yep
[03:22:50] <Guest76920> ok
[03:23:27] <jmkasunich> you are actually ahead of where I thought you were - you read the screen output, figured out where your files are, and posted copies - great ;-)
[03:23:52] <jmkasunich> actually, you posted "file" (1)
[03:24:13] <jmkasunich> you posted the "ini" file, which is the main part of the config
[03:24:21] <Guest76920> i've spent days trying to figure this out on my own lol
[03:24:23] <jmkasunich> but it refers to others, and the pinout info is in one of those
[03:24:39] <jmkasunich> to be honest, I'm not really up on the hostmot2 config details
[03:24:58] <Guest76920> i can understand a bit of it
[03:25:01] <jmkasunich> if you can ask more specific questions it might be easier to home in on what you need to do
[03:25:13] <jmkasunich> what exactly would you like to change?
[03:25:52] <Guest76920> well i guess this is probably a stupid question, but can i just change the text in that file and it will change the config?
[03:26:11] <Guest76920> that's what is throwing me off... i'm so used to not being able to do that
[03:26:38] <jmkasunich> yes - the contents of that file (and a couple others) tell EMC exactly what it should do when it starts
[03:26:43] <Guest76920> wow
[03:27:10] <jmkasunich> the manual explains the various sections of the file
[03:27:42] <jmkasunich> some are a bit obscure, some are obvious
[03:28:15] <Guest76920> yea, most of which i guess i can figure out
[03:28:38] <Guest76920> the thing i've been stumped on is configuring the pins on the 5i20
[03:28:59] <jmkasunich> there are a couple other files you'll need to look at
[03:29:10] <jmkasunich> one is the hal file
[03:29:35] <jmkasunich> line 99 of the ini file (see the pastebin for a numbered version) tells you what hal file is being used
[03:30:26] <Guest76920> ok, i got it open
[03:30:36] <jmkasunich> it should look a lot like:
http://pastebin.ca/1417974
[03:30:44] <Guest76920> hm2-stepper.hal
[03:30:49] <jmkasunich> yep
[03:31:03] <jmkasunich> lets refer to mine on pastebin - the line numbers make it easier to talk
[03:31:20] <jmkasunich> line 41 loads the driver
[03:31:38] <jmkasunich> the [HOSTMOT2](DRIVER) syntax gets values from the ini file
[03:31:57] <jmkasunich> the first 4 lines of the ini file are the [HOSTMOT2] section
[03:32:05] <jmkasunich> and DRIVER is hm2_pci
[03:32:31] <jmkasunich> and CONFIG is "firmware=hm2/5i20/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[03:32:54] <Guest76920> wow thats what i've been trying to ppen all day lol
[03:32:58] <Guest76920> open*
[03:33:17] <jmkasunich> so line 41 winds up being: "loadrt hm2_pci config=firmware=hm2/5i20/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3
[03:34:29] <jmkasunich> the remainder of the HAL file does a lot of setup stuff, but it mostly gets its info from the ini file
[03:34:32] <jmkasunich> for example:
[03:34:44] <jmkasunich> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.dirsetup [AXIS_0]DIRSETUP
[03:35:19] <jmkasunich> that sets a driver parameter, but it uses the DIRSETUP value from the [AXIS_0] section of the ini file
[03:35:26] <jmkasunich> so you don't need to modify the hal file, just the ini file
[03:35:34] <Guest76920> oh ok
[03:35:44] <jmkasunich> none of this stuff directly affects pinouts though
[03:36:18] <Guest76920> yea, i didnt see anything pertaining to it in there
[03:36:20] <jmkasunich> the hostmot2 driver actually generates a list of its pins when you load it
[03:36:30] <jmkasunich> but you gotta know where to look to find it
[03:36:50] <jmkasunich> to keep things simple, just follow along:
[03:36:58] <Guest76920> ok
[03:37:00] <jmkasunich> first, exit from axis (File->Quit)
[03:37:10] <jmkasunich> in your shell, you should be back to a prompt
[03:37:36] <jmkasunich> at the prompt, type "sudo dmesg -c"
[03:37:45] <jmkasunich> that will spew a lot of stuff at you - ignore it
[03:38:07] <jmkasunich> the spew was a long list of log messages, possibly going all the way back to when you started the computer
[03:38:20] <jmkasunich> the "-c" on the command said "print the log, and then clear it"
[03:38:32] <jmkasunich> so we got rid of all that confusing crap
[03:38:50] <jmkasunich> now, start emc again (type "emc", hit enter, then choose the 5i20 stepper config)
[03:39:27] <jmkasunich> let me know once Axis is showing on your screen
[03:39:54] <Guest76920> ok
[03:40:03] <jmkasunich> while EMC was starting up, the hostmot2 driver printed a list of its pins to the system log
[03:40:10] <jmkasunich> so, you need to look at the log
[03:40:25] <jmkasunich> open another shell (Applications->Accessories->Terminal)
[03:40:31] <jmkasunich> in that shell, type "dmesg"
[03:40:42] <jmkasunich> you'll get another spew of stuff
[03:41:01] <Guest76920> got it
[03:41:06] <jmkasunich> but now it is only stuff that happened since you did the "dmesg -c" a few minutes ago - 99.99% of it will be from when you started EMC
[03:41:19] <jmkasunich> if you scroll back in there you should find a listing of your 5i20 pins
[03:41:31] <jmkasunich> I don't have a 5i20 card here, so I'm not sure exactly what it will look like
[03:42:15] <JymmmEMC> dmesg | grep blah
[03:42:15] <Guest76920> yea, got it
[03:42:31] <jmkasunich> if you want to save a copy of that, you can do "dmesg >any_file_name"
[03:42:48] <jmkasunich> the ">" sends the stuff to the file instead of the screen
[03:43:11] <jmkasunich> then you can open that file with an editor, print it, pastebin it, whatever
[03:44:09] <Guest76920> ok, got it copied and saved
[03:44:26] <Guest76920> very cool
[03:45:00] <jmkasunich> you're doing quite well for a linux newbie
[03:45:26] <Guest76920> thank you, you've deffinately made alot of sense of everything i've read
[03:45:35] <Guest76920> MUCH appreciated
[03:46:49] <jmkasunich> glad I could help
[03:47:06] <jmkasunich> don't know about where you are, but midnight's coming fast here - goodnight, and good luck
[03:47:34] <Guest76920> california, goodnight, and thanks a bunch
[03:49:32] <Guest76920> man this is gunna be a much longer project that i anticipated
[03:50:01] <roh> n8
[03:57:49] <WalterN> DanielFalck: yeah... why?
[03:58:38] <WalterN> DanielFalck: well, its about a two hour drive to portland from here...
[04:10:15] <DanielFalck> WalterN: I'm in Beaverton
[04:10:33] <DanielFalck> just curious
[05:36:24] <JustinXJS2> WalterN, hey Walter
[05:36:35] <JustinXJS2> DanielFalck, I am in corvallis
[08:03:05] <WalterN> AAAhhhh! JustinXJS2!
[08:03:42] <WalterN> the nightmare that keeps coming back!
[08:08:25] <WalterN> DanielFalck: Tillamook
[08:55:19] <JustinXJS2> you know it :-)
[09:20:01] <alex_joni> http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html
[15:52:43] <Guest95524> Guest95524 is now known as Roguish
[17:06:09] <topls64> Hi all. I want to add a 4th axis (rotational) to my homecnc to make a cane for gf of mine. All that involves is the setup, a motor/driver and index pulse, correct?
[17:07:13] <topls64> aside from the software setup that is
[19:56:38] <BigJohnT_> BigJohnT_ is now known as BigJohnT
[20:02:29] <billykid2> hello
[20:45:02] <toastatwork> does anybody know what would cause iwconfig to not associate with an open AP that shows up in the scan results
[20:51:33] <pjm_> mac address filtering on the AP perhaps?
[20:51:44] <pjm_> although then it wouldnt be open i spose
[20:51:58] <pjm_> is iwconfig showing the interface as 'managed' ?
[20:52:08] <toastatwork> no filtering
[20:52:09] <toastatwork> it's open
[20:52:20] <toastatwork> yes, managed
[20:52:30] <pjm_> and essid set as per the AP
[20:52:45] <toastatwork> i've tried it both ways
[20:52:52] <toastatwork> setting essid and setting ap
[20:52:54] <toastatwork> both do not work
[20:53:06] <pjm_> strange, what channel is the AP on? not >11
[20:53:10] <toastatwork> 1
[20:53:19] <pjm_> ah ok so should be fine with any region
[20:53:40] <pjm_> and the actual wlan0 or whatever is 'up' with ifconfig wlan0 up
[20:54:07] <toastatwork> yes
[20:54:17] <pjm_> i've had problems before where i've had to down the IF, up it again, then iwconfig
[20:54:31] <toastatwork> i'll try taking it down
[20:55:42] <toastatwork> no dice
[20:56:02] <toastatwork> this is the weirdest problem i've ever had, wireless works great everywhere but with this AP
[20:56:05] <pjm_> presumably when u do iwconfig wlan0 mode managed, there is no error
[20:56:16] <toastatwork> no error
[20:56:26] <pjm_> any logging on the AP u can look at
[20:56:35] <pjm_> how about iwconfig wlan0 rate 2M
[20:56:46] <toastatwork> no error
[20:56:46] <pjm_> just to drop the bit rate down a little, is the AP far away?
[20:56:54] <toastatwork> the ap is very close
[20:57:00] <toastatwork> signal strength shows at 89%
[20:57:31] <pjm_> anything in var/log/messages
[20:57:39] <pjm_> or dmesg ?
[20:58:10] <toastatwork> May 10 16:54:42 yhellothar kernel: [ 771.513747] ADDRCONF(NETDEV_UP): eth0: link is not ready
[20:58:14] <toastatwork> in messages
[20:58:36] <toastatwork> same in dmesg
[20:59:19] <toastatwork> what i don't understand is why it works perfectly everywhere BUT here, even if i leave the laptop on and drive to someone else's house
[20:59:30] <toastatwork> but as soon as i come back, pow, no dice
[21:01:05] <pjm_> u got other PC's connecting to this AP
[21:01:23] <toastatwork> yes
[21:01:31] <toastatwork> all windows boxes, though.
[21:02:38] <toastatwork> and there's no logging on the ap
[21:02:41] <pjm_> what wireless chipset?
[21:02:45] <toastatwork> ipw2100
[21:03:44] <pjm_> and iwlist scan sees the AP?
[21:03:47] <toastatwork> yes
[21:04:29] <pjm_> laptop i take it?
[21:04:36] <toastatwork> indeed, dell 700m
[21:04:39] <pjm_> there is no button on it to 'enable wireless' ?
[21:04:48] <toastatwork> tx-power is 16 dbm
[21:04:50] <toastatwork> so the radio is on
[21:05:05] <toastatwork> i can turn the radio off via button, tx-power drops to 0
[21:05:20] <pjm_> function+F2 perhaps
[21:05:28] <pjm_> ah ok so it sounds like the card isup
[21:05:28] <toastatwork> that's what it is, yes
[21:05:50] <pjm_> hmm that is certainly strange then
[21:06:10] <toastatwork> yeah, it's the weirdest thing i've seen
[21:06:28] <toastatwork> i'm so confused I'm about to try disconnecting the ethernet line to see if that's somehow messing with it
[21:06:47] <LawrenceG> is it out of dhcp addresses? you could try a static ip config
[21:07:06] <pjm_> u are positive eth0 isnt the wired ethernet?
[21:07:12] <toastatwork> i can't send dhcp requests before the radio associates
[21:07:20] <toastatwork> and yes, eth0 is wireless, eth1 is wired
[21:07:28] <toastatwork> lo no wireless extensions.
[21:07:29] <toastatwork> eth1 no wireless extensions.
[21:07:29] <toastatwork> eth0 unassociated ESSID:"rabassa" Nickname:"ipw2100"
[21:07:57] <pjm_> so it might be worth just trying to down eth0, rmmod ipw2000, modprobe ipw2000, ifconfig eth0 up, iwconfig blah
[21:08:08] <pjm_> just in case there is some driver funny
[21:09:05] <toastatwork> no dice
[21:09:11] <toastatwork> shuts down, comes up clean
[21:09:18] <toastatwork> no association
[21:09:20] <toastatwork> sigh
[21:09:20] <pjm_> anything in messages or dmesg
[21:09:42] <toastatwork> [ 1572.760420] ipw2100 0000:02:01.0: PCI INT A disabled
[21:09:42] <toastatwork> [ 1577.239052] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[21:09:42] <toastatwork> [ 1577.239057] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[21:09:42] <toastatwork> [ 1577.240482] ipw2100 0000:02:01.0: PCI INT A -> Link[LNKE] -> GSI 10 (level, low) -> IRQ 10
[21:09:46] <toastatwork> [ 1577.241146] ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
[21:09:48] <toastatwork> [ 1577.241157] eth0 (ipw2100): not using net_device_ops yet
[21:09:51] <toastatwork> [ 1577.241162] ipw2100 0000:02:01.0: firmware: requesting ipw2100-1.3.fw
[21:09:53] <toastatwork> [ 1588.641730] ADDRCONF(NETDEV_UP): eth0: link is not ready
[21:10:36] <toastatwork> from dmesg
[21:10:37] <pjm_> using a recent ish version of wireless-tools for iwconfig etc?
[21:10:56] <toastatwork> as recent as debian unstable has in the packages
[21:11:24] <pjm_> so pretty recent, this is odd
[21:11:31] <pjm_> got a length of cat5 handy?
[21:11:39] <toastatwork> i am on the offending lappy right now
[21:11:55] <toastatwork> it's plugged in via wire
[21:13:20] <pjm_> can u cat /sys/bus/pci/drivers/ipw2100/*/rf_kill ?
[21:13:50] <toastatwork> 0
[21:13:59] <pjm_> 0 = RF kill not enabled (radio on)
[21:14:01] <pjm_> ok good
[21:15:15] <toastatwork> this AP has had other weird issues before
[21:15:25] <toastatwork> i'm not sure it's ever been flashed, but i'm hesitant to do so
[21:16:02] <toastatwork> (As it's not mine)
[21:19:04] <pjm_> try ifconfig eth0 down, rmmod ipw2100, then modprobe ipw2100 associate=1
[21:20:18] <toastatwork> done
[21:20:28] <pjm_> then ifconfig eth0 up, iwconfig blah etc
[21:20:36] <toastatwork> aye captian
[21:20:56] <toastatwork> dice holding at "no"
[21:20:57] <toastatwork> =(
[21:21:19] <pjm_> is the AP B/G ?
[21:21:26] <toastatwork> yes
[21:21:31] <pjm_> try setting to B only?
[21:21:44] <toastatwork> on the AP?
[21:21:48] <pjm_> yeah
[21:23:05] <toastatwork> negative
[21:23:10] <toastatwork> same non-behavior
[21:23:19] <toastatwork> but it does show up with only the b rates on scan
[21:23:46] <pjm_> thats very strange, there has to be a simple answer, what make of AP is it?
[21:24:23] <toastatwork> linksys, lemme see if the model is somewhere on the conf page
[21:24:38] <toastatwork> wrt54g
[21:24:58] <pjm_> yeah they are good devices
[21:25:03] <pjm_> and usually support everything
[21:25:43] <toastatwork> this one had an issue awhile back where the linksys itself would block outbound port 53 replies to dns requests
[21:26:12] <toastatwork> like, i set it up in a loop on the same box, and you could funnel stuff on 53 through it, and it just wouldn't come out the other end
[21:26:22] <toastatwork> it's just been weird
[21:26:25] <toastatwork> whatever.
[21:26:35] <pjm_> hmm yeah it is irritating that it doesnt work
[21:27:00] <toastatwork> wpa supplicant gives a little more verbosity, it says "association attempt failed"
[21:27:03] <toastatwork> or similar verbage
[21:27:20] <pjm_> u are using WPA on it?
[21:27:22] <toastatwork> nope
[21:27:27] <pjm_> phew ok good
[21:27:36] <toastatwork> haha, almost gave you a heart attack, sorry
[21:27:43] <pjm_> hahhh nfp
[21:28:13] <pjm_> i'd be inclined to get another machine, run a wlan card in promiscous mode with wireshark and watch what happens when it associates or trys to
[21:28:39] <tomp3> i tried to read the emc dev notes pdf on ubuntu ..
[21:28:45] <tomp3> cant read the diagrams, switched to windows and adobe 8,
[21:28:50] <tomp3> very clear pictures but labels are truncated (eg 1st diagram... motor-pos-cmd -> Outp to H)
[21:28:51] <tomp3> any fixes so pdf is legible?
[22:00:40] <tomp> tomp is now known as tomp3
[23:12:19] <tomp3> in TP_STRUCT, are the id's always sequential? ( int nextId )
[23:22:53] <tomp3> in usrmotintf there is a printTPstruct. Is there an emc cmd line switch to call this for every queued motion?
[23:26:50] <tomp3> well it aint emc -d
[23:28:51] <tomp3> and it aint emc -v
[23:29:24] <tomp3> those are the only 2 cmd line switches listed by 'man emc'