Ubuntu Installation :: Quick Python Script For Updating Machines Without Internet?

Mar 17, 2011

I've been having some problems trying to get a new netbook working with China Telecom's 3G service (works wonderfully in Windows, but still trying to figure Ubuntu out), so until I figure out the problem with this Huawei modem, I've written a quick python script to handle updates/installations on the Ubuntu side. (Synaptic does fine on generating download scripts for packages, but it needs an option to handle updates as well)

If anyone else has a use for this, you're welcome to use it. Please let me know what needs to be changed to make it work on your box.

View 2 Replies


ADVERTISEMENT

Debian Installation :: Updating Three Machines With One Download?

Aug 21, 2011

I have now got three machines with Debian on in my home. I use Mobile Broadband with a very modest monthly limit and remember somehow using Synaptic to gather either Updates or packages to download on one machine where there was another type of internet and could then move the packages back to my computer. Can anyone here remind me of what I would have done there or suggest a means of getting these three updated without blowing my limit. I'd either use a relative's broadband and my netbook, or do the Updates once at home and move the packages to the other two machines.

I'm using Debian 6.01, Gnome edition, 64 bit, on an Atom N450 netbook, a 3ghz dual core AMD pc and a a 2 ghz single core AMD pc, whatever of this is relevant. They have slightly different programs installed but are at the same stage of not being updated yet, with 252mb of them to add.

View 5 Replies View Related

Ubuntu Installation :: Internet Lost After Updating?

Mar 18, 2011

I partial updated the ubuntu packages after repeated messages. Finally it asked me to delete obsolete files and I clicked Ok. After some time the wireless internet Icon on the top right corner disappered.

Now I cant connect to internet by my router either wireless or wired. My wlan drivers are ok too. There seem to be no network whatsoever.

View 1 Replies View Related

Ubuntu :: Updating To Python 3.1 To 3.2 In LLucid?

Jun 25, 2011

I have 2 netbooks, one desk top and a server on my home network. I would like to have all my machines running the same version of Python. The Lucid machine repositories seem stuck at 2.6x and 3.1x ... I want them to be 2.7x and 3.2 so that I am consistant.

Is there a way to upgrade the repositories for Python without having to upgrade the whole system?

View 3 Replies View Related

Fedora :: Eric The Python IDE After Updating To PyQt 4.6.2e?

Nov 30, 2009

after updating to kde 4.3.3 PyQt4 updated to 4.6.2 since that eric is open with lots of errors and when i try to run apython script inside it the run fail

i reported a bug
https://bugzilla.redhat.com/show_bug.cgi?id=541982

View 1 Replies View Related

Ubuntu Networking :: Network Two Machines Over The Internet?

Feb 27, 2011

Me and my friend have been talking about networking our two machines over the internet. So he has done his side. Now i need to do my side... Any ideas on how i would go about configuring my computer to do this?

View 9 Replies View Related

Server :: Giving SSH Access To Machines On LAN From Internet?

Mar 7, 2011

I am having a server in a corporate data centre. There are some virtual machines running on it.The main server is accessible from internet via SSH. There are some people who within the lan access the virtual machines whose IPs on LAN are

Quote:
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4

from internet only one host is allowed SSH. This machine has public IP and is also connected to LAN on the IP 192.168.1.50. Tunnel is not allowed on our network.So now I am came across a solution as explained on this link. I am not clear with on which machine .ssh/config file I add following

Code:
Host securehost.example.com ProxyCommand ssh user1@insidemachine.com nc %h %p Should above be done on gateway where public IP and ssh is allowed or client on internet who has to login. Do I need to create separate accounts on the gateway also so that the users who can SSH to gateway then are forwarded to inside machines? Or one account on gateway is sufficient for different people logging in via internet to my gateway and then forwarded to internal machine?

Then do I need to create an account user1 on the gateway also?

1) What is the correct syntax for ProxyCommand on gateway's .ssh/config should I use

Code:
ProxyCommand ssh user1@inside.machine nc %h %p
or I should use
Code:
ProxyCommand ssh user1@gateway.com in nc %h %p

2) Should I create new user accounts on gateway also which exist on internal machine?

View 4 Replies View Related

Ubuntu :: Multiple Machines - To Save On Internet Usage And Load On The Servers ?

Jun 27, 2010

Am using 10.04 and quite happy with the way it is working. my nephew and my mother have also switched to ubuntu.

To save on internet usage and load on the ubuntu servers, can i download upgrade files in one computer and then upgrade all systems?

View 3 Replies View Related

Ubuntu Installation :: Logitech Quick Cam Pro 9000 Microphone And Skype?

May 7, 2010

It has been a long time i dreamed to get ubuntu and now i have my ubuntu 10.04 installed. I found similar posts in the forum but no one helped me out. i have a webcam Logitech quick cam pro 9000 and i tried to use it with skype 2.1 beta 2 i installed this morning. Well i can see the video but the microphone (build in the webcam ) does not work at all and it worked fine with windows. This is the lsusb command in the terminal :

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 046d:0990 Logitech, Inc. QuickCam Pro 9000
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So i think the webcam is connected well.

View 3 Replies View Related

Installation :: Quick Dual Booting Operating Systems

Jul 26, 2010

I have no clue how Linux works and I haven't had much experience installing/dual booting operating systems. Most of my knowledge in computers comes from fixing errors with crappy hardware or Windows. Now I want to learn how to use a computer instead of how to fix it. Hence, I want to have Windows & Linux on my computer. My laptop(Acer Aspire 4530) has two hard drives, one is Vista and the other was empty(until I filled it with stuff). What is the simplest method to install Linux (or any of its variations) on this computer? Do I just install/partition all of Drive B to Linux and leave Drive A for Vista?

View 3 Replies View Related

Fedora :: Updating F11 Without Internet?

Dec 18, 2009

I can install and update Fedora11 as well as other softwares at my office through internet. However, at home I don't have any net connection. Is it possible that I collect all files including their dependencies from my office computer in a pen drive and then update my home computer?

View 1 Replies View Related

Fedora :: Updating A System That Got No Internet?

Mar 2, 2010

I have a number of systems with Fedora on them, they are connected to a network but are not allowed to connect to the internet. So I am trying to find a solution to patch these systems in a simple way.My solution which i thought of, however, still having a problem with is as follows:

1- Download the files from the "repodata" (e.g. for "update" repository) using a machine that is connected to the internet.

2- Copy these files(e.g. using flash drive) to one on of these Fedora systems into the /var/cache/yum/i386/12/updates (or /var/cache/yum/updates for older versions).

3- Run "yum -C check-update" (-C so it will not try to update and will use the local files). (I am having a problem at this step and I get this message "no such table: packages", the solution that i found on the internet suggested cleaning the cache which is not what i want to do!).

4- After getting the list of needed files I will parse the primary.xml.gz file and grab the actual file names then append the base URL to them and save it into a file.

5- take that file to the online machine and run wget to grab all needed patches.

6- Take the files back to the system and put them in (i think /var/cache/yum/i386/12/updates/packages/) and run "yum -C update" However, now i am having a problem with step 3 and also not sure if step 6 is correct.

So does any of you guys know how to solve this, or if there is a better or easier way to do this??* Keep in mind that those machines are not allowed to connect to the internet or even connect to another machine that is connected, but we still need to patch them and keep them secure.

View 4 Replies View Related

Debian :: Updating The Kernel Without An Internet Connection?

May 19, 2011

I recently installed Debian "Squeeze" onto a Thinkpad T420, alongside Windows 7. During the installation Debian was unable to detect my NIC (Intel 82579LM), but otherwise the installation completed normally. I've installed the required e1000e drivers, and added "alias eth0 e1000e" to the modules file. Using lspci I can see that the computer detects the card, but still fails to load the drivers for it.

I'm at a bit of a loss, as this is my first time using Linux. After a bit of searching it looks like the 2.6.38 kernel resolves the issue with this card, so I guess that's my next step.Unfortunately all the installation instructions I've found assume an internet connection.Is there a simple way to update the kernel without a connection, or -even better- an install disc with 2.6.38 so I can start from scratch?

View 3 Replies View Related

Ubuntu Networking :: Internet Stopped Working Suddenly After Updating The Packages

Apr 8, 2011

my Internet connection stopped working suddenly after updating the packages using synaptec package manager and rebooting it..can anyone say me why did this happen.BTW,mine is ubuntu 10.10 and i am absolute new to linux.I had to configure my n/w connections right from the scrap again

View 2 Replies View Related

Ubuntu Networking :: Slow Internet After Updating To Natty With Wlan-rt73usb?

May 8, 2011

After updating to kubuntu 11.04 natty, I have a problem with my internet-connection. The problem happens when I use VoIP-Software like Skype or Twinkle and also when using ktorrent.

When using the mentioned software, after 30-90 seconds the internet gets very slow. In f.e. skype, I can hear the one I phoned very badly.

I use kubuntu on a desktop-PC with a Linksys USB-Wlan-Stick. Detailed information is below.

Code:
uname -a
Linux pr1-desktop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

[Code]....

View 1 Replies View Related

Fedora Installation :: Grub / Try To Boot - Flashes A Quick Blue Screen & Restarts

Jun 26, 2011

I don't really have any Linux experience. But I wanted to try it out. Now I'm afraid I did not set this up properly. Grub gives me 3 options:

Fedora (2.6.38.8-32.fc15.x86_64)
Fedora (2.6.38.8-26.rc1.fc15.x86_64)
Other

When I select <Other> to boot into windows... it starts to try to boot... but then flashes a quick blue screen & restarts. I tried to boot into Window's normal mode, safe mode, and command line... all just restart fdisk -l gives the following:

[Code]....

View 4 Replies View Related

OpenSUSE Network :: Connecting To The Internet After Installing & Updating?

Jun 24, 2011

After a recent installation and update I am having problems connecting to the internet even after following the steps in [URL]... Configure a network card in Suse/openSUSE...." It doesn't always connect when I boot and there is no connection icon on the panel nor the KDE desktop. Can someone assist me with this problem?

View 9 Replies View Related

Ubuntu Installation :: 10.04 Install "quick Format"?

Sep 13, 2010

New install 10.04.1 on 1.3 TB HD Problem is, that it formats the partitions full format. This takes a VERY long time. Is there any way I can avoid this?

I tried fiddling with the partition settings, but can't find anything. Also tried making a manual partitioning, still no luck. Only making "/" (ext4) and "swap"Also I'm installing as a VmWare machine, with a growable disk. (Thin Provisioning),That is kinda stupid, when it makes a full format.

View 9 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Ubuntu Installation :: Cloning OEM To 20+ Machines?

Apr 26, 2010

We are giving away 20+ machines to 3rd world county and I was asked from the receiving party to install linux on them. What I don't want is to pop a cd into all of them and do the manually install.

I'm thinking of installing one computer the old fashion way and do the OEM-configuration on it afterwards. It would be nice to just clone the hard drives since the computer is identical right down to the hard drive.

View 7 Replies View Related

Ubuntu Installation :: Get The Machines To Boot The CD?

Sep 16, 2010

So I'm a newb to ubuntu and I have two desktops I just had wiped clean, there is nothing on the drives. I DL the latest version, burned to CD and tried to get the machines to boot the CD so I can install the software.

I get nothing but reboot retry press F1.

View 4 Replies View Related

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

Oct 27, 2010

in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work

View 3 Replies View Related

Ubuntu Installation :: Grub2 On Re-imaged Machines?

Aug 29, 2010

I just inherited a lab full of computers currently running XP and 9.10. They all worked when I last saw them. Recently, tech support re-imaged the XP partition and now I can't boot into Ubuntu. Obviously it overwrote the bootloader that was there, but I can't get it back. The general setup is XP on /dev/sda1 and Ubuntu on /dev/sdb1 with swap on /dev/sdb5.

I've followed a bunch of instructions about reinstalling grub by chrooting into /dev/sdb1 (right? that's the one I should use), grub-install and update-grub all run without a hitch detect both Ubuntu kernels, memtest and the XP install as they were before the reimage. Exit and reboot, it still boots straight to Windows. If I move the boot flag from sda1 to sdb1, the computer hisses at me about not finding anything to boot.

I've gone nuclear on one computer and installed 10.04 on sdb1, but it still boots to Windows. I feel like I need to do something to the MBR on the Windows drive but last time I did anything there I had to fix it with ms-sys. I left out anything wicked important, I'll get what info you need. Oh and if upgrading to 10.04 in a trick fashion will help me, by all means suggest it, because once they get going I'm upgrading anyway.

View 5 Replies View Related

Ubuntu Installation :: Which Version For Older Machines?

Aug 16, 2011

I do some volunteer work repairing and re-purposing older computers for the Salvation Army Thrift store where I live. Of course most of the computers we get are older. My reason is to get some of the poorer kids a fighting chance at school. We sell these things for next to nothing to accomplish this. I include free tech/training support for 30 days to get them started as. My problem is that finding a version of ubuntu and openoffice that will run on them is becoming difficult. Any suggestions as to a version that works for those not real familiar with computers?

View 7 Replies View Related

Ubuntu :: Updating Withough Updating Kernel ?

Apr 21, 2011

I have a 3dsp pci wifi card, and the last kernel it supports is Ubuntu 10.04 2.6.32-(21-24) I want to update but dont want to accidentally update the kernal.

View 3 Replies View Related

General :: Installation In 50 Or More Machines?

Jan 4, 2009

if I need to install Linux o/s in 50 or 100 machines, how do I do it ? (lets imagine that all the machines are identical)

Is it possible to install in one of the machines and just clone in all of the other machines (without actual installation). If so , how do i do it ??

View 5 Replies View Related

Ubuntu Installation :: Unable To Delete The Virtual Machines

May 19, 2011

I have VMware player on my laptop. I have three working virtual machines, Android, Windows Vista, and Kubuntu, and three that something went wrong don't work. How do I get rid of these space cloggers? Just go to Home folder/VMware and jus delete the folders of useless machines? Or is there a way to do it properly? Or am I stuck with these forever? And how do I rename a virtual machine?

View 1 Replies View Related

Fedora Installation :: Installation On HP/Compaq Machines?

Jan 29, 2009

I have tried to boot from Fedora 10 CD on Compaq Evo D510 desktop as well as HP Pavilion DV6700 Laptop several times. Goes through everything for a long time. Ends up in a screen with colored stripes on the desktop and a blank dark screen on the laptop. I do see the wireless light on the laptop turn blue from orange indicating it is enabled. But was of no use. Both machines crash at the end. I tried both GNOME and KDE.....both crashI am suspecting the display drivers. The desktop has a Intel Chipset and the laptop Nvidia GForce 8600 I guess....These are not old comps. The desktop is just a couple of years old and the laptop is brand new. This is without actually installing Fedora

View 5 Replies View Related

Software :: Python 3 Want Situation For Python 2 And Become Stop?

Jul 17, 2010

Python 3 want situation for python 2?Python 2 become stop?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved