attach XP computer to network.

2012-03-04 Thread Michael Havens
Okay I got it so that both of my Linux computers are printing but my brothers Windows box will not behave. I had it printing then I decided to change the name of the user. Unfortunately I can't change it back (don't remember what it was) so I need to modify the network to reflect the new user n

Re: attach XP computer to network.

2012-03-04 Thread Lisa Kachold
Hi Mike! On Sun, Mar 4, 2012 at 1:31 PM, Michael Havens wrote: > Okay I got it so that both of my Linux computers are printing but my > brothers Windows box will not behave. I had it printing then I decided to > change the name of the user. Unfortunately I can't change it back (don't > remem

Re: attach XP computer to network.

2012-03-04 Thread John
discussion list Sent: Sunday, March 4, 2012 2:38 PM Subject: Re: attach XP computer to network. Hi Mike! On Sun, Mar 4, 2012 at 1:31 PM, Michael Havens wrote: Okay I got it so that both of my Linux computers are printing but my brothers Windows box will not behave. I had it printing then I

Re: attach XP computer to network.

2012-03-04 Thread Michael Havens
so I got to: service smb restart and the reply was: bmike1@Michaels-PC:~$ sudo service smb restart smb: unrecognized service bmike1@Michaels-PC:~$ /etc/init.d/smb reload bash: /etc/init.d/smb: No such file or directory bmike1@Michaels-PC:~$ so I guess this means s

Re: attach XP computer to network.

2012-03-04 Thread John
Try: sudo service smb restart From: Michael Havens To: John ; Main PLUG discussion list Sent: Sunday, March 4, 2012 4:06 PM Subject: Re: attach XP computer to network. so I got to:      service smb restart and the reply was: bmike1@Michaels-PC

Re: attach XP computer to network.

2012-03-04 Thread Lisa Kachold
What is your distro? apt-get install samba or yum install samba On Sun, Mar 4, 2012 at 4:06 PM, Michael Havens wrote: > so I got to: > > service smb restart > > and the reply was: > > bmike1@Michaels-PC:~$ sudo service smb restart > smb: unrecognized service > bmike1@Micha

Re: attach XP computer to network.

2012-03-04 Thread John
service smbd restart That should be From: John To: Main PLUG discussion list Sent: Sunday, March 4, 2012 4:32 PM Subject: Re: attach XP computer to network. Try: sudo service smb restart From: Michael Havens To

Re: attach XP computer to network.

2012-03-04 Thread Michael Havens
4, 2012 at 5:03 PM, John wrote: > service smbd restart > > That should be > > -- > *From:* John > *To:* Main PLUG discussion list > *Sent:* Sunday, March 4, 2012 4:32 PM > > *Subject:* Re: attach XP com

Re: attach XP computer to network.

2012-03-04 Thread Lisa Kachold
rvice smbd restart >> >> That should be >> >>-------------- >> *From:* John >> *To:* Main PLUG discussion list >> *Sent:* Sunday, March 4, 2012 4:32 PM >> >> *Subject:* Re: attach XP computer to network. >> >> Try:

Re: attach XP computer to network.

2012-03-04 Thread Lisa Kachold
gt; -- >> *From:* Lisa Kachold >> *To:* Main PLUG discussion list >> *Sent:* Sunday, March 4, 2012 2:38 PM >> *Subject:* Re: attach XP computer to network. >> >> Hi Mike! >> >> On Sun, Mar 4, 2012 at 1:31 PM, Michael

Re: attach XP computer to network.

2012-03-04 Thread Michael Havens
On Mon, Mar 5, 2012 at 12:18 AM, Lisa Kachold wrote: > Please post your entire conf file so the PLUG can assist you. > #=== Global Settings === [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will

Re: attach XP computer to network.

2012-03-04 Thread Michael Havens
On Mon, Mar 5, 2012 at 12:20 AM, Lisa Kachold wrote: > Please refer to this excellent reference in order to get your XP printing > correctly: > > http://unixwiz.net/techtips/samba-xp-printing.html > > Well, I looked through it and the solution they presented they said is dangerous if the computer

Re: attach XP computer to network.

2012-03-05 Thread Lisa Kachold
Thanks Mike: On Mon, Mar 5, 2012 at 12:42 AM, Michael Havens wrote: > On Mon, Mar 5, 2012 at 12:18 AM, Lisa Kachold wrote: > >> Please post your entire conf file so the PLUG can assist you. >> > For questions related to each section, please see: http://www.samba.org/samba/docs/man/manpages-3/smb

Re: attach XP computer to network.

2012-03-05 Thread Michael Havens
well it is on an internal network but the only thing that is separating it from the internet is my DSL router. If I remember cdforrectly the router is a busybox installation (yep qwest was/is using linux for its DSLs). I found that out when I was playing with penetration testing with backtr

Re: attach XP computer to network.

2012-03-05 Thread Michael Havens
I'm looking through http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html and in the printers section couldn't I just the new user name somewhere? If not someone at samba really needs to add that feature! The [printers] sectio

Re: attach XP computer to network.

2012-03-05 Thread Michael Havens
and maybe an 'allow from ip address' too -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: attach XP computer to network.

2012-03-05 Thread Michael Havens
did I do this correctly? it's been sitting there about two minutes doing nothing: @Michaels-Laptop ~/Downloads $ sudo tar -xz /usr/lib/gimp/2.0/plug-ins/gimp-save-for- web-0.29.3.tar.bz2 On Mon, Mar 5, 2012 at 12:17 PM, Michael Havens wrote: > and maybe an 'allow from ip address'

Re: attach XP computer to network.

2012-03-05 Thread James Mcphee
I can't quite figure out how gimp applies here. But a quick intro to tar flags. x = uncompress. mutually exclusive from c and t c = compress. mutually exclusive from x and t t = show. mutually exclusive from x and c So to create a tarball, use a c. z = use gzip. rename file with .gz j = use

Re: attach XP computer to network.

2012-03-05 Thread Michael Havens
I'm sorry that went into the wrong email! but I forgot the 'file' flag On Mon, Mar 5, 2012 at 4:33 PM, James Mcphee wrote: > I can't quite figure out how gimp applies here. But a quick intro to tar > flags. > > x = uncompress. mutually exclusive from c and t > c = compress. mutually exclu

Re: attach XP computer to network.

2012-03-06 Thread Lisa Kachold
sudo tar xvf /$file no " ' " On 5 Mar 2012 16:03, "Michael Havens" wrote: > did I do this correctly? it's been sitting there about two minutes doing > nothing: > > @Michaels-Laptop ~/Downloads $ sudo tar -xz > /usr/lib/gimp/2.0/plug-ins/gimp-save-for- > web-0.29.3.tar.bz2 > > On Mo

Re: attach XP computer to network fror printing

2012-03-06 Thread Michael Havens
okay I enabled the guest account but that didn't improve the situation any. I checked localhost:631 and the printer is listed. (weird thing, from the laptop it is listed as a different model. It works so I don't really care) 1) As you initially asked, your XP account name was changed. Pl

Re: attach XP computer to network fror printing

2012-03-10 Thread Michael Havens
Okay you want me to tail samba's log. I stated I didn't know which file to tail. but then I just realized you wanted me to tail samba's log and I know how to find that! but I don't know which log to tail. (the complete list of logs is at the end of this) I am going to give you the tail of t

Re: attach XP computer to network fror printing

2012-03-11 Thread Bryan O'Neal
What was the original question? XP not taking to smb? And why would you ever enable a windows guest account? On 3/10/12, Michael Havens wrote: > Okay you want me to tail samba's log. I stated I didn't know which file > to tail. but then I just realized you wanted me to tail samba's log an

Re: attach XP computer to network fror printing

2012-03-11 Thread Michael Havens
I enabled the guest account because it was suggested I do so but doing so didn't help so I disabled it right away. On Sun, Mar 11, 2012 at 10:38 AM, Bryan O'Neal < bryan.on...@theonealandassociates.com> wrote: > What was the original question? XP not taking to smb? > And why would you ever enable

Re: attach XP computer to network fror printing

2012-03-11 Thread Michael Havens
Yes, that is correct. Samba isn't talking to the XP. The Samba log says "Transport endpoint is not connected" whatever that means. I enabled the guest account because it was suggested I do so but enabling it didn't help so I disabled it right away. > On Sun, Mar 11, 2012 at 10:38 AM, Bryan O'Nea

Re: attach XP computer to network fror printing

2012-03-11 Thread Bryan O'Neal
Sounds like local firewall rules. If they are on the same lan then try disabling the firewalls on each endpoint. Or try telnetting on all the ports used. Are you using an auth system like AD or local accounts? On 3/11/12, Michael Havens wrote: > Yes, that is correct. Samba isn't talking to the XP

Re: attach XP computer to network fror printing

2012-03-11 Thread Michael Havens
I installed no firewall. Maybe the router/modem has one or else the xp has one.. the xp doesn't seem to have on either. Well I found one but it was disabled. the rest of your message was like you were speaking greek! On Sun, Mar 11, 2012 at 1:07 PM, Bryan O'Neal < bryan.on...@theonealandassoci

Re: attach XP computer to network fror printing

2012-03-11 Thread Lisa Kachold
Glad the Plug could fix it! On 6 Mar 2012 18:51, "Michael Havens" wrote: > okay I enabled the guest account but that didn't improve the situation > any. I checked localhost:631 and the printer is listed. (weird thing, from > the laptop it is listed as a different model. It works so I don't re

Re: attach XP computer to network fror printing

2012-03-11 Thread Michael Havens
it isn't fixed. On Sun, Mar 11, 2012 at 4:19 PM, Lisa Kachold wrote: > Glad the Plug could fix it! > On 6 Mar 2012 18:51, "Michael Havens" wrote: > >> okay I enabled the guest account but that didn't improve the >> situation any. I checked localhost:631 and the printer is listed. (weird >> t

Re: attach XP computer to network fror printing

2012-03-11 Thread James Mcphee
The error pasted is about name services, not printing. XP being XP, have you tried setting the samba box up for port 139 instead of 445? On Sun, Mar 11, 2012 at 4:33 PM, Michael Havens wrote: > it isn't fixed. > > > On Sun, Mar 11, 2012 at 4:19 PM, Lisa Kachold wrote: > >> Glad the Plug could f

Re: attach XP computer to network fror printing

2012-03-11 Thread Michael Havens
okay james. I am figuing that this is done at I've been looking for how to this for A while now. How do you do it? There it is. I found a GUI app that did it called 'firestarter'. Unfortunately opening the ports didn't help the situation any. ports 137-139 and 445 are now open. On Sun, Mar

Re: attach XP computer to network fror printing

2012-03-11 Thread James Mcphee
Add smb ports=139 445 to your smb.conf. It "might" work :) On Sun, Mar 11, 2012 at 8:38 PM, Michael Havens wrote: > okay james. I am figuing that this is done at I've been looking > for how to this for A while now. How do you do it? There it is. I found a > GUI app that did it called 'f

Re: attach XP computer to network fror printing

2012-03-11 Thread Michael Havens
This must be text I have to add because I don't see anywhere in smb.conf that I can add the ports. Sorry but I need to know what to type in. On Sun, Mar 11, 2012 at 8:53 PM, James Mcphee wrote: > Add smb ports=139 445 to your smb.conf. It "might" work :) > > > On Sun, Mar 11, 2012 at 8:38 PM,

Re: attach XP computer to network fror printing

2012-03-12 Thread James Mcphee
You would add it to the [global] section of the smb.conf. It's a hairy config to edit, so be sure to run testparm on it to make sure it works before restarting. And make backups! On Sun, Mar 11, 2012 at 9:21 PM, Michael Havens wrote: > This must be text I have to add because I don't see anywhe

Re: attach XP computer to network fror printing

2012-03-12 Thread Michael Havens
I'll make the backup but what do I add? On Mon, Mar 12, 2012 at 9:33 AM, James Mcphee wrote: > You would add it to the [global] section of the smb.conf. It's a hairy > config to edit, so be sure to run testparm on it to make sure it works > before restarting. And make backups! > > > On Sun, M

Re: attach XP computer to network fror printing

2012-03-12 Thread James Mcphee
Add smb ports=139 445 to your smb.conf. On Mon, Mar 12, 2012 at 9:56 AM, Michael Havens wrote: > I'll make the backup but what do I add? > > > > On Mon, Mar 12, 2012 at 9:33 AM, James Mcphee wrote: > >> You would add it to the [global] section of the smb.conf. It's a hairy >> config to edit, s

Re: attach XP computer to network fror printing

2012-03-12 Thread Michael Havens
type in 'smb ports=139 445'? or w/o the 'smb'? On Mon, Mar 12, 2012 at 10:07 AM, James Mcphee wrote: > Add smb ports=139 445 to your smb.conf. > > On Mon Mar 12, 2012 at 9:56 AM, Michael Havens wrote: > >> I'll make the backup but what do I add? >> >> >> >> On Mon, Mar 12, 2012 at 9:33 AM, Ja

Re: attach XP computer to network fror printing

2012-03-12 Thread Michael Havens
hm I was going to try it both ways but when I type in 'sudo service smb restart' the response is 'unrecognized service'. I then checked to make sure samba was started (sudo service smb start) but got the same response. Then I made sure it was installed (apt-get install) but it is at the newest

Re: attach XP computer to network fror printing

2012-03-12 Thread Michael Havens
I think we just found the problem! On Mon, Mar 12, 2012 at 10:43 AM, Michael Havens wrote: > hm I was going to try it both ways but when I type in 'sudo > service smb restart' the response is 'unrecognized service'. I then > checked to make sure samba was started (sudo service smb start) but

Re: attach XP computer to network fror printing

2012-03-13 Thread Michael Havens
You know, I said that I think we found the problem. Unfortunately, that doesn't mean I know how to fix it. Can you let me know that? On Mon, Mar 12, 2012 at 10:44 AM, Michael Havens wrote: > I think we just found the problem! > y, that doesn't mean I kn ow how to fi > On Mon, Mar 12, 2012 at 10

Re: attach XP computer to network fror printing

2012-03-13 Thread James Mcphee
/etc/init.d/nmbd /etc/init.d/smbd So not smb, but smbd and nmbd if you want the name services. On Tue, Mar 13, 2012 at 1:25 AM, Michael Havens wrote: > You know, I said that I think we found the problem. Unfortunately, that > doesn't mean I know how to fix it. Can you let me know that? > > O

Re: attach XP computer to network fror printing

2012-03-13 Thread Michael Havens
well thank you very much! Unfortunately it didn't help any. look at my smb.conf file and see if that is messed up: (I added the ip addr in networking) #=== Global Settings === [global] #opening ports for printer smb ports = 137 138 139 445 ## Browsing/Iden

Re: attach XP computer to network fror printing

2012-03-13 Thread James Mcphee
testparm says the interface line is malformed. Always run testparm after making a change to make sure the config is at least readable. On Tue, Mar 13, 2012 at 4:52 PM, Michael Havens wrote: > well thank you very much! Unfortunately it didn't help any. > > look at my smb.conf file and see if th

Re: attach XP computer to network fror printing

2012-03-14 Thread Michael Havens
This is not good. I can no longer browse from the ubuntu (where the printer is) into any computeter. Nor can I browse from the mint into the Ubuntu and browsing into the XP happens sporadicly (it usually ends It ends with a window that says 'Unable to mount location'. I can ssh though from the ubun

Re: attach XP computer to network fror printing

2012-03-14 Thread Michael Havens
correction: sometimes I can browse into the ubuntu. On Wed, Mar 14, 2012 at 3:57 PM, Michael Havens wrote: > This is not good. I can no longer browse from the ubuntu (where the > printer is) into any computeter. Nor can I browse from the mint into the > Ubuntu and browsing into the XP happens sp

Re: attach XP computer to network fror printing

2012-03-14 Thread Michael Havens
I just thought of something: maybe this has to do with the wireless. It never gave me problems before though. On Wed, Mar 14, 2012 at 3:58 PM, Michael Havens wrote: > correction: sometimes I can browse into the ubuntu. > > > On Wed, Mar 14, 2012 at 3:57 PM, Michael Havens wrote: > >> This is no

Re: attach XP computer to network fror printing

2012-03-14 Thread James Mcphee
as0t1 means you're probably running openvpn or something like it. As for the subnet mask on the IP in question, that's whatever you set it to. But it needs to be consistent on your network. On Wed, Mar 14, 2012 at 3:58 PM, Michael Havens wrote: > correction: sometimes I can browse into the ubu

Re: attach XP computer to network fror printing

2012-03-14 Thread Michael Havens
cool.. I'm understanding. How do I see what subnet the xp is on. I tried ifconfig on the XPbut that doesn't show the subnet:( On Wed, Mar 14, 2012 at 4:00 PM, James Mcphee wrote: > as0t1 means you're probably running openvpn or something like it. > > As for the subnet mask on the IP in question,

Re: attach XP computer to network fror printing

2012-03-14 Thread James Mcphee
ipconfig /all On Wed, Mar 14, 2012 at 4:07 PM, Michael Havens wrote: > cool.. I'm understanding. How do I see what subnet the xp is on. I tried > ifconfig on the XPbut that doesn't show the subnet:( > > > On Wed, Mar 14, 2012 at 4:00 PM, James Mcphee wrote: > >> as0t1 means you're probably runn

Re: attach XP computer to network fror printing

2012-03-14 Thread Michael Havens
thank you. it says it is on the 24 subet (225.225.225.0) as are all the other computers. That isn't default, is it? The way i'm looking at this (the way I think I understand it is: 8bits.8bits.8bits.0-255 /8 . /16 ./24 . 0 255.255.255.0/24 255.255.0.0/16 255.0.0.0/8 Is my understanding r

Re: attach XP computer to network fror printing

2012-03-16 Thread Michael Havens
h. I just remembered. I had another distro installed when it was printing from the XP which means the xp has never been printing with ubuntu. On Wed, Mar 14, 2012 at 4:43 PM, Michael Havens wrote: > thank you. it says it is on the 24 subet (225.225.225.0) as are all > the other compu

Re: attach XP computer to network fror printing

2012-03-16 Thread Michael Havens
look what I found in my quest to open ports for printing: I found a program called ufw which is a 'program for managing a netfilter firewall.' And one of the commands is: ufw allow 53 This rule will allow tcp and udp port 53 to any address on this host. Which is the printer

Re: attach XP computer to network fror printing

2012-03-16 Thread Michael Havens
the man page just mentioned that if you didn't specify the protocol it would assume both of them. It didn't mention anything about the 'range' issue. I earlier said that you can issue the command and you could include 15 ports. I just realized that they probably meant per issuance of the command!

Re: attach XP computer to network fror printing

2012-03-16 Thread Michael Havens
well darn! I just read more of the man page and discovered I could just allow all ports by changing a setting in 'etc default/ufw. But when I tried to enable it it responds with an error: problem running ufw-init. so I think it might not be running but when I try restarting it I am told that ufw is

Re: attach XP computer to network fror printing

2012-03-16 Thread Michael Havens
hmm. opening the ports didn't help any. I opened: bmike1@Michaels-PC:~$ sudo ufw status Status: active To Action From -- -- 22 ALLOW Anywhere 137ALLOW Anywhe

Re: attach XP computer to network fror printing

2012-03-16 Thread James Mcphee
if you're opening that much, just disable iptables until you figure out what you need to leave open. On Mar 16, 2012 6:06 PM, "Michael Havens" wrote: > hmm. opening the ports didn't help any. I opened: > > bmike1@Michaels-PC:~$ sudo ufw status > Status: active > > To

Re: attach XP computer to network fror printing

2012-03-17 Thread Michael Havens
I was just making it identical to the Mint computer but it still didn't make it print. I'm looking through iptanles man-page amd wsd thinkimg that perhaps I should put in a 'persistent' rule or a '--to-destination rule? OKAY disable iptables how is that done? I can't find it in the manpage

Re: attach XP computer to network fror printing

2012-03-17 Thread Lisa Kachold
Good Job Michael! You have negotiated the ufw. Keep in mind that you would not want to open all this on a traveling laptop (since it would expose trusted services to all). Now just because you have opened the ports on one system, you can't be sure they are actually "seen" from the other system w

Re: attach XP computer to network fror printing

2012-03-18 Thread Michael Havens
On Sat, Mar 17, 2012 at 6:35 AM, Lisa Kachold wrote: > Good Job Michael! You have negotiated the ufw. Keep in mind that you > would not want to open all this on a traveling laptop (since it would > expose trusted services to all). Now just because you have opened the > ports on one system, you

Re: attach XP computer to network fror printing

2012-03-18 Thread Michael Havens
it is strange and I think related to the printing issue that when I try to ssh from the server to the laptop the connection is refused but when I try the other way the connection times out. Does that little piece of information help any? --more info-- ssh server to xp=timeout ssh laptopto XP= time

Re: attach XP computer to network fror printing

2012-03-18 Thread Michael Havens
I forgot to mention that they can all ping each other On Sun, Mar 18, 2012 at 5:01 PM, Michael Havens wrote: > it is strange and I think related to the printing issue that when I try to > ssh from the server to the laptop the connection is refused but when I try > the other way the connection t

Re: attach XP computer to network fror printing

2012-03-18 Thread Michael Havens
man I'm beginning to think I should just reinstall my print server. On Sun, Mar 18, 2012 at 6:57 PM, Michael Havens wrote: > I forgot to mention that they can all ping each other > > > > On Sun, Mar 18, 2012 at 5:01 PM, Michael Havens wrote: > >> it is strange and I think related to the pri

Re: attach XP computer to network fror printing

2012-03-19 Thread Michael Havens
I tell you this is all screwed up! bmike1@Michaels-PC:~$ sudo /lib/ufw/ufw-init status Firewall is running bmike1@Michaels-PC:~$ sudo /lib/ufw/ufw-init stop Skip stopping firewall: ufw (not enabled) bmike1@Michaels-PC:~$ sudo /lib/ufw/ufw-init restart Skipping (not enabled) bmike1@Michaels-PC

Re: attach XP computer to network fror printing

2012-03-19 Thread Michael Havens
You know... I wonder if this has anything to do with this: Whenever I apt-get on the server this happens: bmike1@Michaels-PC:~$ sudo apt-get install gparted Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: li