OpenSUSE :: Good Documentation About Expect - Build Complex Script - Work To Automatically Connect To 50 Pc`s

Aug 20, 2010

I was wondering if you could help me find a good documentation about expect, I have searched all the web but with no luck. I need to build a complex script that I need at work to automatically connect to 50 pc`s (with linux based os) and execute 10 or more script with the output into a text file and the email the file to my email address.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Good Expect Tutorial For Programing With Expect?

Nov 2, 2010

I'm trying to Use Expect to automate a curl function. basically I don't want to type enter for my script to run. Can anyone point me to a good Expect tutorial?

View 1 Replies View Related

Programming :: Cannot Seem To Find Any Good Documentation On Role Of Flags

Mar 16, 2010

I cannot seem to find any good documentation on the role of flags -Bdynamic and -Bstatic in g++. The man pages are not very helpful either.I found an example on the web:"gcc object1.o object2.o -Wl,-Bstatic -lapplejuice -Wl,-Bdynamic -lorangejuice -o binary".According to which -Bstatic instructs the linker to statically link
the applejuice library and to dynamically link the orangejuice library. If orangejuice uses the applejuice library anywhere however,the applejuice is also linked dynamically. Is it correct to assume that this is correct and describes the true functionality of those two flags in gcc? (ie: Bstatic and Bdynamic are used for mixing static and shared libraries during linking)Is it correct to assume that the same applies to g++ as well?

View 2 Replies View Related

Debian Configuration :: Complex Network Setup - RPI To Automatically Route Internet

Jan 26, 2016

I would like to update my network setup.

Today, I have an ADSL box which is my gateway to internet (192.168.0.1).

I have a Raspberry pi (RPI) which I use as a dhcp & dns server (192.168.0.2).

Recently my mobile phone operator installed a 4G antenna beside my home, and the bandwidth and latency are much better with my mobile phone than with my internet provider (ADSL).

I would like to install a wifi dongle on my RPI (I would get wlan0 & eth0 interfaces)

When RPI detect my shared phone connection (tethering) I would like RPI to automatically route internet:

- from authorized devices on my network to my mobile connexion (wlan0 -> mobile phone).
- from other devices to the standard ADSL internet (eth0 -> ADSL box).

I don't want any device to use the shared 4G connexion, best would be authorized devices to be selected by MAC address. How I should properly setup such a network ?

View 2 Replies View Related

Ubuntu Multimedia :: Expect To Spend To Build A Mythbuntu Computer From Scratch?

Jul 23, 2011

What is the minimum price I can expect to spend to build a Mythbuntu computer from scratch, and are there any good guides out there explaining how to do it?

View 1 Replies View Related

Ubuntu Installation :: How To Automatically Install Documentation

Jun 2, 2010

I'm used from Gentoo that the documentation (info-/man-pages) is installed by default (or at least it's possible to enable it by default for packages that don't do that). However I notice on my Ubuntu installation regularly that a lot of documentation is missing, for example info gcc gives me just the man-page of GCC and not the GCC manual, and for bison I don't get any info documentation.I'm aware that for these packages there are always *-doc packages, but most of the time I'm realizing that the documentation is missing when I'm offline, so there's no way to just install it then.

View 1 Replies View Related

OpenSUSE :: A Good Free Virtualization Software Package That Work On OpenSuse With The KDE Desktop?

Oct 4, 2010

Can anyone suggest a good free Virtualization Software Package that work on OpenSuse with the KDE Desktop, as I need to use Windows for some applications that have not got a Linux equivelant, Namely Reserch In Motions BlackBerry Desktop Manager and the drivers for my Printer and Scanner, so I would also need something with USB pass through. Or if there isn't any free virtualization software that will dowat I want that's free then something that is not expensive that's paid for. I like the look of Parallels Desktop 4 for Windows & Linux but I'm not sure if I would be able to justify paying �54.99 for the ammount of use that it will get?

View 9 Replies View Related

OpenSUSE Install :: Good / Easy Way To Clone Opensuse 11.2 That Will Work?

Feb 17, 2010

I installed opensuse 11.2 64-bit edition. I installed all of the software I wanted.I now want to clone the installation to 6 other workstations that are 100% identical to the first.I used clonezilla to create the image, but all of the new workstations will not boot. This is due to the fact of the fstab being 100% cloned and other boot volume problems.Does anyone know of a good, easy way to clone opensuse 11.2 that will work?

View 9 Replies View Related

Programming :: /usr/bin/expect : Script To Check Server Load Using Both Expect And Bash?

Jul 27, 2010

I am trying to make a script that can be used to check server load on a remote server and produces sound on our local machine, when server load exceeds a particular limit.1. I want to execute command uptime or uptime | awk '{print$10}'on the remote server and store the result in a variable(say x), and later use it in the bash script.

Bash Part
#!/bin/bash
x=$(/root/Desktop/exp)

[code]...

View 1 Replies View Related

General :: Expect: Line Seems To Match Exactly However Expect Thinks Not?

Jun 16, 2010

I am writing an expect script. At a certain point there is a rule that produces this debugging output:

Code:

expect: does " Address or name of remote host [x.x.x.x]? " (spawn_id exp8) match glob pattern " Address or name of remote host [x.x.x.x]? "? no This just times out When I use -exact for the expect keyword it does work What am I doing wrong? THe first should also match in my opinion because it is equal as well. Even if I remove the I still have the same issue if I try without -exact. I don't understand. I tried removing the but still got the same.

View 5 Replies View Related

OpenSUSE Wireless :: Make OS Connect To Internet Automatically?

Feb 16, 2010

I have to manually connect to the internet (e.g. "activate"). How can I make the OS connect to the internet automatically?

View 2 Replies View Related

OpenSUSE Wireless :: Set Computer To Automatically Connect On Startup?

Oct 5, 2010

I just reinstalled OpenSUSE 11.3 GENOME on my computer (Compaq Armada E500 w/512 MB RAM, 30GB HD, and Linksys WPG54v2 wireless card). After futzing around for several hours on two different evenings, I got it working all by myself! The only thing is,ow I have to manually connect to my wireless network every time,which gives me a a great sense of accomplishment. I start the computermber having to edit a script somewhere to make it connect automatically on system startup, but I can't remember what it is I'm supposed to edit or how I'm supposed to edit it

View 9 Replies View Related

Debian :: Rhythmbox Radio Stations - A Good Free Virtualization Software Package That Work On OpenSuse With The KDE Desktop?

Apr 2, 2011

I have done some googling - same question being asked by others but no answer I could find .. so here goes...

I am using Rhythmbox to listen to radio stations - I would like to import a lot of stations into it without having to go through a huge list adding individually. a good free Virtualization Software Package that work on OpenSuse with the KDE Desktop

Is there any way I could import a list somehow?

View 2 Replies View Related

Ubuntu Installation :: Where To Find Expect That Will Work On10.10

Mar 25, 2011

I'm new to Ubuntu and am looking for the Tcl/Tk extension Expect. I have several Expect scripts that I would like to use but I don't know where I can find a version of Expect that will work with Ubuntu 10.10.Does anyone know where I can download this?

View 1 Replies View Related

General :: How To Build Fedora Automatically Installation ISO

Jan 24, 2011

I want to install Fedora 12 on lots (>100) machines with the same system. These system is a little special:

Each has 4G to 12G memory, but no HD. So we need to install system into memory.

We want to:

1) Automatically installation through network: just power on the machines, all the machines install Fedora 12 OS into memory automatically.

2) We don't want lots network I/O after the installation finishes (it's better the whole OS is in memory). The installation may done through mounting a ISO through network.

View 2 Replies View Related

OpenSUSE :: Find All The Build-deps Or What They Are For That Matter To Build Boxee

Feb 20, 2010

I'm in love with my Opensuse 11.2. Love my KDE 4.4. The only thing I miss from my Ubuntu installation, is the ability to use Boxee. I would be more than willing to compile Boxee from source. I only have 2 problems with that:

1) I don't know where I can find all the build-deps or what they are for that matter to build Boxee.

2) I'm running on a Netbook. Yes, my measly Intel Atom is no fun for compiling and building.

What are my options/what can I do to get Boxee up and running on 11.2? I've tried searching on build service for an RPM, but I think due to legal restrictions, Boxee can't be on there.

View 9 Replies View Related

OpenSUSE :: Build Libevent-dev 2.0.10 In Ooder To Build New Version Of Transmission?

Feb 16, 2011

looking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met: In order to build transmission 2.21.I need libeventnew version of transmission,I need to build libevent-dev >= 2.0.10 and installed first.But I can't get any information about building development files for libevent.

View 1 Replies View Related

Slackware :: Libraries Not Included To Build Automatically Everypackage?

Jul 19, 2011

As I am learning everyday Slackware, there is something that it doesn't make sense to me. It is about libraries. I tried to install Playonlinux via slackbuild and if I am not wrong this package required a library named libnss3 ). This library was found in seamonkey, a program uninstalled by me. I had to reinstall it in order to build Playonlinus. Now playonlinux runs fine. My question is: why aren't all the libraries included separately on Slackware or its website in order to build automatically everypackage? Is is a huge list? It doesn't make sense to install a package that I will never use in order to have a library..

View 7 Replies View Related

General :: Automation - Good Console-based Program To Automatically Manage Music Collection?

May 31, 2011

I like the convenience of having a music player that manages the placement of my music files based on the tags of the files, sorting into a root music folder with Artist/Album/01 - Track Title.mp3 sort of hierarchy. Previously, I was using Banshee for this feature, as even most of the other gui music players don't have this library management feature. Now, I've been trying to use console-based applications, and I have been using mpd + ncmpcpp fairly successfully. When I download new music, it is downloaded to a specific folder, and that's not part of my music collection. My previous workflow would be to open a gui filemanager at the downloaded folder, and drag and drop those songs onto banshee, which would then make a copy of those files in my library hierarchy. Currently, I'm doing the same thing, using Banshee only as a sort of import program, then closing it and updating my mpd database, and there we go.

If at all possible, I'd like to automate this to something where I can define a watch folder, and when some magical program sees new music in said watch folder, it identifies the correct place for the files to be copied into my heirarchy, renaming folders and files to the correct format. I know I've written a lot describing, but I don't actually think this too uncommon a task, and I'm wondering if anyone has a solution for my problem.

View 3 Replies View Related

OpenSUSE :: Ant Build.xml Does Not Exist - Build Failed

Apr 19, 2011

Ant was installed in yast2 but will not run since build.xml was never created. How can this be fixed? I would like to run AudioTool.

View 5 Replies View Related

Programming :: Expect Script: Send Function Key F12 In An Expect Script?

Nov 19, 2008

I'am new to expect how do i send function key F12 in an expect script?

View 1 Replies View Related

OpenSUSE Wireless :: Knetworkmanager Detect Wireless Network But Doesn't Automatically Connect

Apr 17, 2010

at start, knetworkmanager detect wireless network, but doesn't automatically connect - I have to restart it to make it work properly. Instead, it gives that error:

[Code]...

View 2 Replies View Related

OpenSUSE Wireless :: Intel 3945abg Wireless Network Card Cannot Connect To Router Automatically

Apr 8, 2010

I clicked "Network Settings", and I found that the ip address was wrong, which is "192.168.1.10/24", and netmask field is empty, so I modifed the configuration file located in /etc/sysconfig/network, named ifcfg-wlan0, added one line(NETMASK= '255.255.255.0'), saved it and reboot the system. After rebooting the system, I still found the ip address is wrong and netmask field is empty, so I have to use ifup command to activate my card manually every time the system starts.

View 1 Replies View Related

Programming :: Bash - Automatically Build A Set Of Packages And Redirect Output Into Logs - Failed Make Should Return A Non-zero Value

Jun 27, 2011

I have a set of bash scripts that I'm running that automatically build a set of packages for me and redirect their output into logs. Basically, I have a bunch of lines that are something like this: ${CONFIGURE_DIR}/configure &> ${LOG_DIR}/log or cd ${CONFIGURE_DIR} && make &> ${LOG_DIR}/log, etc.

This is supposed to make the entire process silent. However, sometimes with some packages some output leaks to my console (either stdout or stderr). I'm thinking that maybe the configure scripts/make are executing commands within new shell instances that don't inherit my redirect, or something to that effect.

Another reason for thinking this is that in another part of my script I detect errors when running make by testing with "if [ $? -ne 0 ]", and if the redirect leaks to my console and also the leaked output indicates that the build failed ("make: Error" and so on), then my $? test fails (i.e., it thinks that $? == 0, whereas a failed make should return a non-zero value). It's as if my original script can't "see" the results from child commands executed from later scripts.

View 1 Replies View Related

OpenSUSE Wireless :: Set Wireless To Connect Automatically On Boot Up?

Jun 28, 2011

I need help configuring to set my wireless to connect automatically on boot up. Right now I do have wallet on with a password.

View 1 Replies View Related

OpenSUSE :: XFCE Settings Applets - Documentation

Apr 21, 2011

When I click on "HELP" in some of the XFCE settings applets, I get an error. It looks as if the software is looking for the help under "/usr/share/doc/xfce-utils/" whereas the documentation is really stored under "/usr/share/doc/packages/xfce-utils/". I can add a symlink as a workaround. But before I do that, I thought I should ask whether there is a configuration file somewhere that allows setting the documentation path.

View 9 Replies View Related

OpenSUSE Install :: Build A Multiseat System (Build A Six-headed Six-user System LG #124)

Oct 1, 2010

I am trying to build a multiseat linux system(Build a Six-headed, Six-user Linux System LG #124). I am posting some outputs output of lspci | grep VGA

Code:
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)
ls /dev/input/mouse*
Code:
/dev/input/mouse0 /dev/input/mouse1 /dev/input/mouse2
more /proc/bus/input/devices

[Code]...

I am having trouble in configuring xorg.conf. I am running Suse 11.3 desktop on my PC. Also, I have one onboard nvidia graphics 6150SE and I have put one nvidia 8400GS 512Mb in the 16X PCIe slot for the additional seat...

So kindly tell me what should I do now or what things are missing ?? For any further info abt my PC plz tell me to post outputs(specify the commands for the same..)

View 11 Replies View Related

OpenSUSE Network :: Couldn't Connect To Internet - Dhcp Don't Work

Sep 26, 2010

I have installed openSUSE KDE 11.3 on my notebook. Everything looks great, but I can't connect on internet. It looks like dhcp don't work. Wireless works fine, only auto eth0 don't work.

View 9 Replies View Related

Debian Hardware :: Squeeze And Ati 5470 Not Work Good?

Jan 25, 2011

I want install ati 5470 driver on debian squeeze .But i can't !I use this instruction : http://www.debianadmin.com/how-to-insta ... ebian.html When i enter below command , show an error(cp: cannot stat `/home/alireza/fglrx-install.rw8UHP/x710/*': No such file or directory
Package build failed! or otherthing.) :# sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Debian/testing

error:
alireza@alireza-debian:~$ sudo sh ati-driver-installer-10-12-x86.x86_64.run --buildpkg Debian/testing

[code]....

View 14 Replies View Related

OpenSUSE Wireless :: Lenovo W510 Connect To Home Wifi But Not 802.1X Work Network

Oct 8, 2010

I recently got a lenovo w510 laptop and I installed openSUSE 11.3 KDE on it. the wireless works fine at home (802.11g WPA2) when I go to work I have tried to set up the wifi for the 802.1X PEAP network but it doesn't look like it even tries to connect.

The work network set up is as follows. non-brodcasting SSID (do I need to tell network manager of this? I manually enter the SSID no problem)

Dynamic WEP 802.1X
PEAP
blank anonymous identity
no CA cert (I suspect this might be the problem)
PEAP v 1
MSCHAPv2

I have verified my username and pw several times, as well as the SSID. Just yesterday I helped a co-worker get on the network under ubuntu and it worked like a charm.

The Hardware profile displays the wifi card as a "WiFi Link 6000 Series" It is an intel card.

View 9 Replies View Related







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