*nix commands on windows

Michael Havens bmike1 at gmail.com
Thu Mar 15 11:47:51 MST 2012


1- Both /etc hosts files are identical.
2- sshd isn't in either /etc/initd directories. but I don't know if that
could be the problem since it is working going one way
4- what are you suppose to look at/edit iptables-save with? nano and gedit
give me (mostly) gibberish.
5- done

On Thu, Mar 15, 2012 at 4:08 AM, Lisa Kachold <lisakachold at obnosis.com>wrote:

> Verify that you have /etc/hosts file entries for both systems.
> Verify that the sshd daemon is running from /etc/init.d/
> Verify that no firewall or iptables is stopping things:  # iptables-save
> If running on cygwin install the sshd daemon.
>
>
> On Thu, Mar 15, 2012 at 1:10 AM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> hmmmmmm..... I can ssh from ubuntu to mint but when I try to go from
>> mint  to ubuntu it times out.
>>
>
>>
>> On Thu, Mar 15, 2012 at 12:54 AM, Michael Havens <bmike1 at gmail.com>wrote:
>>
>>> 1- subnet-
>>> Yep.... they're all on the same subnet
>>> 2- ping-
>>> mint to ubuntu- success!
>>> mint to XP- success
>>> XP to mint- success!
>>> XP to Ubuntu- Success!
>>> Ubuntu to Mint- Success!
>>> Ubuntu to XP- Success!
>>> Layer 3 is intact.
>>> 3- telnet
>>> mint to ubuntu- success!
>>> mint to XP- success
>>> XP to mint- success!
>>> XP to Ubuntu- Success!
>>> Ubuntu to Mint- Success!
>>> Ubuntu to XP- Success!
>>> Layer is intact. I couldn't figure out how to use telnet  but it didn't
>>> error out so I figure it is all good.
>>> 4a- "start->run-> type "\\192.168.0.x\" and see if you can see shares.
>>> They are seen.
>>> 4b- mount -t cifs -o defaults,username=myuser //192.168.0.x/share_name
>>> /tmp/cifs
>>> the XP directory is mounts and lista in the ubuntu and mint computers
>>> but when I go from the mint to ubuntu it refuses to accept my passwd. You
>>> know.... I have no idea what the password is! I've never been able to
>>> access the share. I suppose I could set it for Guest access but I don't
>>> like that idea because what if I'm at starbucks and so,eome there hacks
>>> into..... what would they have to do to get into my box before they see the
>>> folders which allow guest access? I suppose it would be better to find out
>>> why it won't accept my password!
>>> Anyways: ip addr show is how I picked up the 5.5.8.1/21 . I am guessing
>>> it has something to do with a VPN because as0t1 has something to do with
>>> VPN. (I remember playing woth VPN for a day or two)
>>>
>>> bmike1 at Michaels-PC:~$ ip addr show
>>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>>>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>>>     inet 127.0.0.1/8 scope host lo
>>>     inet6 ::1/128 scope host
>>>        valid_lft forever preferred_lft forever
>>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
>>> state UP qlen 1000
>>>     link/ether 00:09:6b:78:ab:f0 brd ff:ff:ff:ff:ff:ff
>>>     inet 192.168.0.3/24 brd 192.168.0.255 scope global eth0
>>>     inet6 fe80::209:6bff:fe78:abf0/64 scope link
>>>        valid_lft forever preferred_lft forever
>>> 3: as0t1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
>>> pfifo_fast state UNKNOWN qlen 200
>>>     link/none
>>>     inet 5.5.8.1/21 brd 5.5.15.255 scope global as0t1
>>> bmike1 at Michaels-PC:~$
>>>
>>> On Wed, Mar 14, 2012 at 6:06 PM, Michael Butash <michael at butash.net>wrote:
>>>
>>>> Cygwin won't give you ifconfig or ip tools (didn't years back at
>>>> least), it'll still be "ipconfig /all"
>>>>
>>>> Look at the subnet mask there, should be 255.255.255.0.  If they're all
>>>> on the same switch/router, than they're in the same subnet.
>>>>
>>>> Can they ping each other's addresses?  layer 3 is good
>>>> Telnet to each other on port 445 "telnet 192.168.0.x 445"  layer 4 is
>>>> good
>>>> From windoze, "start->run-> type "\\192.168.0.x\" and see if you can
>>>> see shares.  Try more specifically if you know the share name.
>>>>
>>>> If you want to test from linux back install smbfs packages
>>>> (specifically for cifs) and mount as:
>>>>
>>>> mkdir /tmp/cifs
>>>> mount -t cifs -o defaults,username=myuser //192.168.0.x/share_name
>>>> /tmp/cifs
>>>>
>>>> Layer 5 and up should be good if you can do the last, otherwise figure
>>>> out where in between the problem lies.  Try in both directions too. It's
>>>> more than likely with samba config, not the network.  Though I'm not at all
>>>> sure what that 5.5.6.1 address was you were looking at...
>>>>
>>>> -mb
>>>>
>>>>
>>>>
>>>> On 03/14/2012 05:10 PM, Michael Havens wrote:
>>>>
>>>>> well, I figured I would d/l something so if you tell me how to do
>>>>> something in *nix I wouldn't have to ask you how to do it in windows.
>>>>> So
>>>>> I googled it and found 'cygwin'. so I install it and the first command
>>>>> I
>>>>> type in I am DENIED! File not found it says. So what is the best unix
>>>>> emulator for windows? 'ip addr show' is the command that wasn't found.
>>>>>
>>>>> --
>>>>> :-)~MIKE~(-:
>>>>>
>>>>>
>>>>> ------------------------------**---------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>>>>
>>>> ------------------------------**---------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.**phoenix.az.us<PLUG-discuss at lists.plug.phoenix.az.us>
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>
>>>>
>>>
>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> (503) 754-4452 Android
> (623) 239-3392 Skype
> (623) 688-3392 Google Voice
> **
> it-clowns.com
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20120315/352fd482/attachment.html>


More information about the PLUG-discuss mailing list