G oog le BadWeB | Login/out | Topics | Search | Custodians | Register | Edit Profile


Buell Forum » Quick Board » Archives » Archive through December 02, 2012 » WAAAAAAAY OT: Any Linux "Geeks" here? « Previous Next »

  Thread Last Poster Posts Pages Last Post
Archive through November 06, 2012Jaimec30 11-06-12  06:49 am
Archive through October 14, 2012Roderick30 10-14-12  04:33 pm
         

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Tuesday, November 06, 2012 - 06:51 am:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Neither TurboTax nor MapSource seem to run under WINE, so I've installed both in my virtual XP machine. The adventure continues!
Top of pagePrevious messageNext messageBottom of page Link to this message

Cataract2
Posted on Tuesday, November 06, 2012 - 08:13 am:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Jaimec, when you say Virtualbox XP you mean Virtualbox with Widows XP running in it, right? (Early morning brain not working.)
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Tuesday, November 06, 2012 - 04:12 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Yep, that's what I mean. Sorry for the confusion.
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Wednesday, November 07, 2012 - 08:44 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Anyone here ever configure vsftpd for anonymous FTP?

(Message edited by jaimec on November 07, 2012)
Top of pagePrevious messageNext messageBottom of page Link to this message

Cataract2
Posted on Thursday, November 08, 2012 - 03:04 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Whoa, bit above my level at this point. What are you trying to do again?

Although, a quick search brought me this. Hope it helps you.
https://help.ubuntu.com/10.04/serverguide/ftp-serv er.html

http://ubuntuforums.org/showthread.php?t=518293
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Thursday, November 08, 2012 - 04:13 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

I figured out my problem, and it had to do with file and directory "ownership," a concept I'm still learning transitioning from the Windows world to the *nix world.

My FTP server on Windows was configured to determine which directories users could upload to, and which they could download from. In Linux, this is determined by the permissions you assign to the directories.

Also, if you want to allow someone to "cd" into a directory they don't own, then that directory has to have the "Execute" attribute assigned for all users (huh??? Execute?? Really??).

Finally got it straightened out and it's working now. *nix sure can be confusing!

Well, as someone pointed out: "Two things came out of Berkeley in the 60s: Unix, and LSD. Coincidence?"

This weekend: Samba!!
Top of pagePrevious messageNext messageBottom of page Link to this message

Reepicheep
Posted on Thursday, November 08, 2012 - 04:48 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)


quote:

Also, if you want to allow someone to "cd" into a directory they don't own, then that directory has to have the "Execute" attribute assigned for all users (huh??? Execute?? Really??).




Why waste an otherwise perfectly good bit?

You didn't even mention the sticky bit. That'll really bake your noodle. ; )
Top of pagePrevious messageNext messageBottom of page Link to this message

Cataract2
Posted on Thursday, November 08, 2012 - 04:51 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Ug, Samba. When you get it working it works amazing. It's just getting to the working part.
Top of pagePrevious messageNext messageBottom of page Link to this message

Hootowl
Posted on Thursday, November 08, 2012 - 05:26 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

NTFS (the MS file system) also has an owner attribute. It isn't exclusively a unix thing.
Top of pagePrevious messageNext messageBottom of page Link to this message

Reepicheep
Posted on Thursday, November 08, 2012 - 06:46 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

This is a little out of date, but not much. My notes from my last Ubuntu install and update...

# Things done since install:

# Install emacs
sudo apt-get install emacs

# Updgrade packages
sudo apt-get upgrade

# Turn on unattended ugrades for security patches
sudo apt-get install unattended-upgrades

# Set up the firewall
sudo ufw enable
sudo ufw allow 22
sudo ufw status verbose

# Set up apache
sudo apt-get install apache2
# Enable SSL
sudo a2enmod ssl
sudo /etc/init.d/apache2 restart

# open ports
sudo ufw allow 80
sudo ufw allow 443

# Set up samba as per manual:
sudo apt-get install samba

# Edit /etc/samba/smb.conf
workgroup = MOUSENET
security = user

[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755

sudo mkdir -p /srv/samba/share
sudo chown nobody.nogroup /srv/samba/share
sudo service smbd restart

# set up samba to go through the firewall
# Interesting... this works on workstation, but not on server addition,
# whch sounds opposite of what it should be..
sudo ufw allow Samba

# if that doesn't work, what it should do is:
# sudo ufw allow 137/udp
# sudo ufw allow 138/udp
# sudo ufw allow 139/tcp
# sudo ufw allow 445/tcp


# Set up cups to print (ouch)
sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
emacs /etc/cups/cupsd.conf
#
# Change:
# Listen localhost:631
# to:
# Listen 631
#
# Change:
# Browsing Off
# to:
# Browsing on
#
# Change:
# BrowseAddress @LOCAL
# to:
# # BrowseAddress @LOCAL
#
# Change:
# Allow all
# to:
# Allow all
#
# Within the "admin section" it should look like this

# Restrict access to the server...
<location>
Order allow,deny
Allow localhost
Allow @LOCAL
</location>

# Restrict access to the admin pages...
<location>
Order allow,deny
Allow localhost
Allow @LOCAL
</location>

# Then allowed port 631 TCP and UDP through the firewall
sudo ufw allow CUPS

# And kick start it to reload configuration file
sudo /etc/init.d/cups restart

# Then fussed around with admin panel with web client
# URL: https://10.0.0.3:631/ (with your IP address of course)
# If you hook up your printer first, it does an ok job of autodetecting
# the driver and offering it in the drop down.
# Until it looked like I got things working
# On the winxp side of the house, add internet printer and use the URL:
# http://peepicheep:631/classes/BasementLaser

# where BasementLaser is what I named my printer... you can use
# lpstat -a from a command line on the unix box to get the name you used.

# We have a netbook with windows 7 starter, which doesn't allow IPP (the
# cups protocol), so we need samba printing enabled.
# Simply uncomment the following section in smb.conf..
sudo emacs /etc/samba/smb.conf

# uncomment the "load printers" line
load printers = yes

# comment out the CUPS printing section
# printing = cups
# printcap name = cups

# and uncomment the printer section
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

# That seemed to work...

# Got https working (painfully) floggin with instructions from:
# http://www.tc.umn.edu/~brams006/selfsign_ubuntu.ht ml

# Set up a second ext3 hard drive I have in the system for auto mount
sudo emacs /etc/fstab
# Added line:
/dev/sdc1 /media/SimpleDrive ntfs-3g defaults 0 0

# Then ran:
sudo mkdir /media/SimpleDrive
sudo mount -a

# Now make that shareable to the PC's in the house.
sudo emacs /etc/samba/smb.conf
# And add the following section
[share]
comment = Peepicheep Shared Public
path = /mdeia/SimpleDrive
browsable = yes
guest ok = yes
read only = no
create mask = 0755

# Bounce the server to pick up the changes.
sudo /etc/init.d/smbd restart

# Now I want my ssh and web server available to the internet as a
# whole. Don't do this unless everyone on your system will be using
# STRONG passwords, and unless you know what you are doing securing
# ssh and https. Otherwise it's just not worth it.
#
# Anyway, now I go to my netgear router (nothing special) and tell it to
# always give the IP address of 10.0.0.10 to this server. This is done on their
"LAN IP Settings" tab.
# To find the mac address of your unix box, use:
ifconfig /dev/eth0
# Then stuff those mac address values into the router page.
# Then reboot your unix box and see if it picks up the right address
sudo shutdown -r 0
# (yes, I know you could just do it with ifconfig)

# Latest version of workstation was missing ssh server
sudo apt-get install openssh-server
sudo ufw allow openssh

# Put a ssh listener on port 8000 (forwarded by my router)
sudo emacs /etc/ssh/sshd_config
# Added "Port 8000" after the Port 22 line
sudo /etc/init.d/ssh restart
sudo ufw allow 8000/tcp

# Put a command line MP3 player on
sudo apt-get install mpg123

# Put audio drivers on
sudo apt-get install alsa-utils
sudo apt-get install alsa-oss # Not sure this one was necessary, I was churning
# Put tools on for development environment, and so CPAN can build
sudo apt-get install build-essential
sudo apt-get install autoconf automake libtool gdb
cpan
> (no to manual config)
> make install
> install Bundle::CPAN

# install PHP (not tested yet, what I did so far)
sudo apt-get install php5
sudo /etc/init.d/apache2 restart
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Friday, November 09, 2012 - 09:49 am:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

service apache2 restart

Seems to work just fine for me on my system...
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Saturday, November 10, 2012 - 10:59 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Got a bit side-tracked today trying to figure out how to let the Virtual XP machine access my USB thumb drive.

Everything is possible, but nothing appears to be easy...
Top of pagePrevious messageNext messageBottom of page Link to this message

Cataract2
Posted on Saturday, November 10, 2012 - 11:30 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Are you using Virtualbox? If so you need to download the extensions for your version. Also, you need to install the guest additions in the window XP is running in. It's under Devices.

Once done you can right click on the USB icon in the bottom right of the XP window and select the USB device you want to use in XP.
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Sunday, November 11, 2012 - 01:15 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Yup... found all that (eventually). They sure don't make it easy!!
Top of pagePrevious messageNext messageBottom of page Link to this message

Cataract2
Posted on Sunday, November 11, 2012 - 02:07 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

No, they don't. Advantage is once you know how. It's easy to setup later should you need to reload.
Top of pagePrevious messageNext messageBottom of page Link to this message

Reepicheep
Posted on Monday, November 12, 2012 - 01:04 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

They must have fixed the apache2 service entries. Or maybe I was just trying apache and by the time I found the actual service I just used the restart script directly...
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Thursday, November 15, 2012 - 07:59 pm:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

Well THAT was painful. Canonical released an upgraded kernel yesterday. After I applied it, I lost my network connection (it didn't have the driver installed). Had to go through all the motions of recompiling the kernel and including the proper NIC driver again. At least this time I knew what was wrong. Gotta open a bug with them now.
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaimec
Posted on Friday, November 23, 2012 - 11:25 am:   Edit Post Delete Post View Post/Check IP Print Post    Move Post (Custodian/Admin Only) Ban Poster IP (Custodian/Admin only)

STILL haven't gotten around to installing/configuring Samba yet. Just finished upgrading my phone to ICS and rooting it, though. Always something...
« Previous Next »

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Post as "Anonymous" (Valid reason required. Abusers will be exposed. If unsure, ask.)
Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Tree View | Search | User List | Help/Instructions | Rules | Program Credits Administration