CimmerianX 197 Junior Poster

Dive right in. Welcome.

CimmerianX 197 Junior Poster

Coffee Coffee Coffee.

CimmerianX 197 Junior Poster

This was done on Python 2.7

This will logon to a host via telnet, run a single command and exit.

#!/usr/bin/python

import getpass
import sys
import telnetlib

HOST = "<host IP>"
user = "<user id>"
password = "<user password>"

tn = telnetlib.Telnet(HOST)

tn.read_until("login: ")

tn.write(user + "\n")
tn.read_until("Password: ")
tn.write(password + "\n")
tn.read_until("~ $")
tn.write("<comman goes here\n")
tn.write("exit\n")

tn.read_all()
CimmerianX 197 Junior Poster

I'd like any suggestions.

I have dozens of hosts that generate logwatch, logcheck, and fail to ban messages sent by email. I'd like to use a new system to accept all those messages along with the following:

1) Archive messages from multiple servers for a set amount of time.
2) Search the historical emails for servername, message type, or other text.

I was thinking about some type of mail aggregator since these messages are already sent via email to my mailbox. I just need to direct the mail to a new host running postfix (or whatever) to receive the mail and store it for future searches.

Anyone have any thoughts on this? Perhaps someone has a better suggestion on what they do to store these types of logs.

CimmerianX 197 Junior Poster

FTP still has it's uses.

If you are going to do this, I suggest chroot-ing the users into their home directories to limit their access along with making sure the ftp logins do not match the system logins.

http://wiki.centos.org/HowTos/Chroot_Vsftpd_with_non-system_users

CimmerianX 197 Junior Poster

Where did the router come from? Was it provided by an ISP? Any model#? How about a picture?

CimmerianX 197 Junior Poster

But with VMWare Workstation, you can set the New Guest OS to use the ISO as the CD rom.... There's no need to burn the ISO to a physical disk.

CimmerianX 197 Junior Poster

JorgeM is correct. The only thing I will add is that you can download the trial Versions of the server products that will work for 90-180 days from microsoft if you are learning the product. These work just fine in a VM (I use virtual box).

CimmerianX 197 Junior Poster

Sounds like the iso/disk is damaged. If you have the original ISO, you can use the .iso file and mount it directly to the Guest OS without having to burn it first.

windowsserver commented: thanks +0
CimmerianX 197 Junior Poster

You need to hit www.dell.com and use the Support link. Your Dell has a service tag # on a sticker, probably on the bottom of the unit. Enter the Tag # and you are given a page with links to all drivers for the OSes that unit supports.

Or, call dell tech support at 1866-516-3115 and have the tech help you out. Just give them that #. They will help you find a driver even if it is out of warranty.

CimmerianX 197 Junior Poster

Open up the interface in Network Connections - Change adapter settings. Pull up properties for the wifi, then properties for tcpip v4. I'll bet you have a static IP here for 192.168.1.20. Just remove the gateway. Then test it all again.

CimmerianX 197 Junior Poster

So long as you let it dry completely before plugging it in (passing current), there is no danger. Water only harms electrical equipment when there's current and the water creates a short.

ujjwale commented: with you. +0
CimmerianX 197 Junior Poster

This is your issue:
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.9 25
0.0.0.0 0.0.0.0 192.168.1.20 192.168.1.20 20

I assume 192.168.1.9 and 192.168.1.20 are assigned to your machine's LAN and WIFI interfaces. Is that correct?

If so, then your catchall route is directed back into 192.168.1.20 because of the lower metric.

IT looks like your gateway should be 192.168.1.1 for both interfaces, so that when 192.168.1.20 is alive, it sends traffic to the real gateway at 192.168.1.1 instead of back into itself which will end up going nowhere.

If these are static, then change the default gateway on 1.20 to be 1.1 instead and that will fix your issue. The other solution would be to change the metric on the interface so that 1.9 has a lower metric than 1.20. But the 1st solution is 'cleaner'.

CimmerianX 197 Junior Poster

You could do this with a local HOSTS file or LMHOSTS file running on the client machine. That would certainly work with the name style you want. BIG downside is that you need to maintain it on each PC or use an include to pull in the file from a central server.

CimmerianX 197 Junior Poster

Mint 14 will certainly work for web, mail, social stuff, and it shines at learning new languages and development. You are about to learn alot about Git and SVN.

But linux gaming has a way to go yet. There are games for linux, and steam is supporting that effort, but most games are still a Windows thing. You can certainly dual boot windows and linux. Or you can load windows and run Linux in a virtual box session. That's what I do for my workstation since most of my mgmt tools are windows only and Outlook is a corporate standard.

CimmerianX 197 Junior Poster

Also, from each computer, while the 1 is in the error state, run ROUTE PRINT and paste the output here.

CimmerianX 197 Junior Poster

My 2 cents, slap DD-wrt on that router and you can separate out 2 wifi subnets, 1 for guests, and 1 bridged to the wired lan for your employees. I've done this many times.

CimmerianX 197 Junior Poster

Virtual box will let you keep your current Operating system (ubuntu, windows). You can create and run VM's from these Operating systems.

Xen is a full OS replacement. You will have to install it as a new OS to a system.

CimmerianX 197 Junior Poster

This is common when you run a virtual environment on the same host. Do you have Virtual Box installed on this host by any chance?

CimmerianX 197 Junior Poster

The pooling options won't work for you. Its just so multiple printers can service the same print queue, not for duplicating jobs.

CimmerianX 197 Junior Poster

I'm only famliliar with printer pooling .... This seems like a very unique request. I know that with Certain queue management 3rd party software you can dupliate jobs on the fly....

I suppose someone could write a small app that would listen on the local port 9100 for inbound print jobs (simlualting a printer on your local port) store that job then redirect it back out to 2 other printer IPs on 9100. Doesn't seem too difficult a task.... But I've never heard of anyone actually doing that.

tristanhall commented: i'll look into this in the case that printer pooling doesn't accomplish this. thank you +0
CimmerianX 197 Junior Poster

Remove the static host entry you just added.

Can't. Only way it works.

If you need a static host entry to make this work, then your DNS is not setup correctly or your dns server has issues.

What do you use for DNS? Your own server? ISP server? OPenDNS?

Since that site works for everyone else, it's safe to say they have their DNS entries setup correctly.

Comment out the static host entry and ping the site. Does it resolve to an IP even if you get no ping back? What IP?

Change your dns server for a test. If your are in DHCP mode, just add a manual DNS server to a public host like 8.8.8.8 or 4.2.2.1 or any other public DNS. Try to connect now.

CimmerianX 197 Junior Poster

You do NOT want to defrag an SSD. There is no need for it and you will probably just shorten the drive's lifespan.

CimmerianX 197 Junior Poster

This is the best guide I've found:
http://www.howtoforge.com/how-to-upgrade-from-linux-mint-13-maya-to14--nadia-with-apt

What commands/process did you use to upgrade?

CimmerianX 197 Junior Poster

Remove the static host entry you just added.

Try it from another browser.

If you ping the address from CLI, does it resolve to an IP? Is it the correct ip (match it with a ping from a working host).

CimmerianX 197 Junior Poster

rneuschul has it correct. You need to verify that all the systems have syncronized to a common NTP server or to one of the public NTP servers. Ensure that you have accounted for differences in timezone and DST.

CimmerianX 197 Junior Poster

A PC can use cached credentials to logon if needed as in a laptop that is not onsite. A local DC is a design question that really depends on how the network is being deployed and 100 other factors. Most will use a local DC because it's what we are used to doing since NT Server days. DC will usually also server as DNS and DHCP for local subnets. HAving a local DNS WINS server helps by eliminating latency needed to communicate with a remote DC. It's a good idea to have multiple DCs spread around anyway. You should have at least 2 in any medium sized office.

CimmerianX 197 Junior Poster

This is a 4 year old thread.... Why bring it back to life at all?

CimmerianX 197 Junior Poster

Are you using the meadia created from the T-42 "Create backup media" app or a generic XP disk?

the point it wants to restart.
Do you mean you complete the text portion and never complete the boot into the GUI portion?

CimmerianX 197 Junior Poster

Thanks. Don't forget to flag this thread as Solved. :)

CimmerianX 197 Junior Poster

No. Don't do that. Do not reset the router. All you need is to replace the SSID and Security crednetials back to originals. Since you don't have these you need to get them from the family. If they don't remember it, then you can select a new SSID and new Pre shared key and go around to every device and setup the wifi again. A Pain I know, but you have no other option without the original PSK.

Most routers have a backup/restore option too. IF the family was smart, they backed up the router's current config somewhere. You could also use that to restore if it exists.

CimmerianX 197 Junior Poster

It's really just where the copy of the content is stored.

Think of the path taken by your PC to get web content when using a proxy.
1) Your browser makes the request.
2) Browser sends the request to the proxy.
3) Proxy relays the request to public www site.
4) public www site sends content to the Proxy.
5) Proxy sends it to your browser for display.

If you hit a site often, like Daniweb, certain static content doesn't change. Logo Image for example. If the file hasn't changed, there's no need to re-download it. right?

(Basically) Your browser can cache the logo image locally, when the requests go out for the content, there is no need to request the image file again. If you have 50 machines, each one must keep a copy of the logo in local cache after having downloaded it at least once. If the logo changes, 50 machines must pull the file again.

If the proxy is caching, then the logo is stored on the server. The 1st daniweb visitor reguests the page and the images are pulled by the proxy and now stored on the proxy. The next 49 machines that visit daniweb pull the image from the proxy instead of the daniweb host, thus saving the bandwith of pulling the image 49 more times. If the image changes, the server pulls it just once to service the 50 internal machines.

CimmerianX 197 Junior Poster

I'm running through a Ubuntu Auto install project. Using this as the starting point https://help.ubuntu.com/12.04/installation-guide/i386/automatic-install.html

I'm hitting a wall here regarding the root device. I'm thinking it has something to do with the partitioning.

Here is my very simple preseed file:

d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

d-i netcfg/choose_interface select auto
d-i netcfg/wireless_wep string

d-i base-installer/kernel/override-image string linux-server
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i time/zone string US/Pacific
d-i clock-setup/ntp boolean true

d-i mirror/country string US
d-i mirror/http/proxy string
d-i pkgsel/install-language-support boolean false
tasksel tasksel/first multiselect standard, ubuntu-server

d-i partman-auto/method string regular
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i passwd/user-fullname string Ubuntu User
d-i passwd/username string ubuntu
d-i passwd/user-password password insecure
d-i passwd/user-password-again password insecure

d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note

I boot and the process begins, but ends at this point:

VFS: Cannot open root device "(null)" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
sda driver: sd
sr0 driver: sr

Am I missing something very obvious in this process? Any thoughts or direction?

CimmerianX 197 Junior Poster
CimmerianX 197 Junior Poster

You just need to shop around for them. Most current Dells have them on the 64xx and 65xx lines. Anyone would list the VGA as a post in the details so should be easy to spot

CimmerianX 197 Junior Poster

Mint Cinnamon is a great alternative to unity. I use that on the desktop now. I still use Ubuntu 12.04 LTS for a majority of the servers.

CimmerianX 197 Junior Poster

JorgeM has it right. You will need to DL SP3 separately and install it manually using the Download link he gave you. Windows update will not function with anything less than XP SP2 IIRC.

CimmerianX 197 Junior Poster

Ennoil is Correct. This is a server side issue. Unless it's yours, you cannot do anything about it.

CimmerianX 197 Junior Poster

HAve you considered Rsync over SSH instead?
http://troy.jdmz.net/rsync/

CimmerianX 197 Junior Poster

Not sure what you are after exactly. Do you want the script results sent to syslog? Do you want the script to send messages to syslog?

There are a few ways of doing this that I can think of off the top of my head.

You can just send a message to the syslog port of your server using net-cat like this:
nc -w0 -u <syslog ip> 514 <<< "SOURCELABEL SYSLOGTAGLABEL This is a message for syslog"

Or you could send the output directly to the logger itself:
echo "This is a test" | logger -i

Is this what you want?

CimmerianX 197 Junior Poster

The latest CorelDRAW Suite is X6. According to their site, you need to have a previous licensed version of Suite X4 or X5. Also, Academic, Home and student, And OEM versions can't be upgraded.

Other than that, seems like you need a full version.
http://www.corel.com/corel/product/index.jsp?pid=prod4260069&cid=catalog20038&segid=5700006

Other than that, I suggest you speak to them directly.

CimmerianX 197 Junior Poster

I could only find paid services to do this. Even from technet:
http://gallery.technet.microsoft.com/office/Convert-EDB-to-PST-b77500b5#content

CimmerianX 197 Junior Poster

Sounds like he's missing a dependency or some 3rd application that this 'power builder' app needs to use the 'rich text module'.

I think we could start with the exact package you are using "dpkg -l|grep 'power builder'" and then the eact error message from the log or screen.

CimmerianX 197 Junior Poster

Go buy a 4.99 1GB USB. You'll never use a floppy again. I only need the occasional floppy when loading up an older Windows image and need to load 3rd party drivers during setup.

CimmerianX 197 Junior Poster

CAn you take the laptop/pc that is failing at your location to another location with free wifi and check if you get DNS resolution there. IF you do, then it's not the PC and you can focus on your network or the ISP.

CimmerianX 197 Junior Poster

Does that mean the issue is fixed? I don't see a follow up question in your post.

CimmerianX 197 Junior Poster

I use Avast at home and for the Corp AV. IT hasn't failed me yet. Home version with just Antivirus is free to use.

BTW, AVG is free, but they tend to direct you to try the paid-for suite. In the App you should be able to switch back to the free AV only version.

CimmerianX 197 Junior Poster

What do you mean by "change IP randomnly"? You normally wouldn't do this since you need an IP in a certain Range with proper MAsk and Gateway for proper communications.

Do assign an IP via command line, you would use (for example):

ifconfig eth0 192.168.1.2 netmask 255.255.255.0
route add default gw 192.168.1.1
ifconfig eth0 down
ifconfig eth0 up

CimmerianX 197 Junior Poster

Do you mean the App or the VDI disk files? THe virtual machines will be safe (always have a backup regardless).

I checked distrowatch for vbox package but it wasn't listed, but the vbox site does have different packages for the different Ubuntu releases. It's a fair bet that the worst case scenarios (so long as the upgrade goes ok) is that you'll remove the previous VBox package and install the newer one instead.

BTW, here's the site to check for package releases.
http://distrowatch.com/table.php?distribution=ubuntu

CimmerianX 197 Junior Poster

Can I offer another suggestion.... IF you are looking for just a speed increase, Corsair offers a Caching SSD option. It's a small SSD drive that will cache files read from a larger HD. You install the SSD, run the caching software (only works in windows) and the files used most often are cached and read from the SSD. It's a cheap way to speed up a machine. I"ve seen this used and it cuts the OS load time in Half. Frequently accessed files (like your email app, office) loads fast.

http://www.corsair.com/SSD/accelerator-series-SSD-cache-drives.html

JorgeM commented: great suggestion as a valid option based on the discussion. +12