Networking :: Only Loops And Refreshes The Smbstatus Command?
Feb 18, 2010
for example i have wrote this so far: while [ 1 ]; do smbstatus;sleep 20; donethis only loops and refreshes the smbstatus command.but i want to continue loop.So when there is a new connection and locked files i want it to send to
View 1 Replies
ADVERTISEMENT
Aug 5, 2010
My mrtg refreshes usually too late(15 min.)and i want to make it 5 min.But i dont know where to edit.
View 1 Replies
View Related
Nov 26, 2010
EDIT 6 Dec: More detailed log from wpa_supplicant I'm using Ubuntu Studio 10.10 x64. I want to get wireless networking going manually. My wireless networking works successfully in Windows 7 x64. I can get it working successfully without encryption but when I try and use WPA-PSK, wpa_supplicant gets stuck in a loop between GROUP_HANDSHAKE and COMPLETED, as shown in the log below.
I've been working mostly off the instructions in this post: [URL]... My laptop is a Dell Studio 1537. It has an Intel Wifi 5100. I'm connecting to a F5D7633-4 router running F5D7633-4Av1_UK_1.00.010 firmware, which is the latest version of the firmware I can find. When I set up WPA, it uses encryption technique TPIK. The other generic information is
Code:
$ iwconfig wlan0 up
04:00.0 Network controller: Intel Corporation WiFi Link 5100
$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 045e:074f Microsoft Corp.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[Code]...
View 1 Replies
View Related
Jan 21, 2010
Code:
Title=
echo -n "Title: "
[code]...
hey guys, im doing a simple search program and i came up with a problem. What i am trying to achieve is, if the search is false(means the book does exist) , the program will then ask the user to input the information again(title and author) and do a search again until there is no such book and then display a message saying he can input a new book in.i tried using a until loop, but it does not seem to work. some guidance on how the statement should be and where should it be placed?
View 4 Replies
View Related
Sep 3, 2009
need to process files within multiple directories and transfer these to a remote server. What I had in mind was to use arrays for this; code pasted below (explains it better):
Code:
#set the arrays
array_A=( fileA* pathtodestA hostA passwordA )
[code]...
View 8 Replies
View Related
Jan 20, 2011
This is a mature Lucid installation on an desktop machine. After having to hard reset it after a lockup due to a misbehaving USB peripheral, startup and shutdown started behaving oddly (e.g. shutdown going to a login screen).
Now it is in a state where - on start up - after logging in successfully, the screen goes dark for a moment and then loops back to the login screen.
Have tried:
- booting in recovery mode,
- running dpkg repair (just an update of sudo)
- running in failsafeX - where problem is still present (so I assume the nvidia video drivers not to blame here)
Maybe relevant that:
- only one user account so cannot try logging in as another user,
- home folder is encrypted.
- hard disk has plenty of spare space.
View 5 Replies
View Related
May 2, 2010
ive been trying to get fruity loops to run under wine and i havent been able to even get the program to show any signs of life.... it wont even start (or give any sign of starting) when i try to launch it.
View 1 Replies
View Related
Jul 5, 2011
Basically the issue is that after I installed ubuntu 10.04 (on the same drive as Windows 7) I can no longer boot windows 7 from grub. When I select windows 7 in the grub boot menu it returns me to the boot menu.I looked through other posts who had similar problems, however, I wanted to post my own thread as I was unsure how to fix the problem based on information from other threads.
View 9 Replies
View Related
Jun 15, 2011
Using K3b 1.91.0 on Lucid in order to burn multitrack Video CDs.These burned fine before, and I made 5 working ones. Now having weird playback problem of burned VCDs first track looping back to the beginning instead of automatically advancing to later tracks. Same problem occurs on a variety of players including standalone DVD player. I can manually access the later tracks, but the later tracks don't continue automatically from track one.
The funny thing is that I'm using exactly the same mpeg VCD files that worked successfully before. I've got a feeling that the problem is some setting in K3b that I might have unintentionally changed, or else some nuance to how I'm adding the files to the project. I notice that when I add tracks to the project, a funny line always appears under a file name. Could that have anything to do with this problem? Also, would choosing "DAO" rather than "Auto" fix the problem? I'm tired of wasting the nice archival CD-Rs I bought!
View 3 Replies
View Related
May 1, 2011
I am trying to execute a .c program of mine through bash... Problem is it takes two arguments (files) and am trying to use "for" loops to do it. I use the for loops to take the files (same number in both directories) and put them into arrays. I use the command "ls -1" in the "for loop" so they are sorted in such a way that they are in the same time and date order upon when the program is executed.
Here is the code:
Code:
for a in `ls -1 /analyses/data1/*_prt.txt`;
do echo $a;
done
[code]....
HOWEVER, $a in this case does not change with the loop. Thus, the program doesn't work. I then tried:
Code:
for a in `ls -1 /analyses/data1/*_prt.txt`;
for sfc in `ls -1 /analyses/data2/*_ht.txt`;
do
./plot_data $a $b >> log_file.log;
done
But that produces the error: syntax error near unexpected token `for'. As a "do" statement must come after the for loop call.
View 13 Replies
View Related
Aug 31, 2010
this is error message --> mail for apex.com.my loops back to myself
[Code]...
View 12 Replies
View Related
Mar 15, 2010
I have an AVI which I produced on Blender in which a camera revolves around a model.
I want the camera to continuously circle the model over and over again.
I know I can do this in a GIF file format, but are there other formats that will do this?
What software can I use that would accomplish this?
View 14 Replies
View Related
Sep 14, 2015
For some reason my Conky is making my machine do infinite DNS requests to the last host I'm connected with. For example, if I visit forums.debian.net it'll start the infinite DNS request to this host. If I close the navigator it stops. If I try to connect to irc.freenode.net it starts the DNS requests. If I disconnect it stops. Why is it happening?
That's my script:
Code: Select allbackground no
update_interval 1
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
[Code] .....
View 0 Replies
View Related
Jan 8, 2011
I was running 10.04 until yesterday, when it occured to me that I could upgrade to 10.10. So I went to Software Center, set it to get normal releases and left it to do its job. The upgrade appeared to go without a hitch and I rebooted. The login screen appeared. But just before I could click on my username and enter my password, the screen went blank and a second later the login screen was back. But then just before I could click... Undeterred, after half a minute of frantic clicking I did manage to click on my username and get the password prompt. This time, the login screen didn't go anywhere. Yay. To cut a long story short, this is now my standard logon procedure. However, the plot thickens. I appears that instead of 10.10, I ended up with 11.04, Natty Narwhal, which 'was released in April 2011'. If I download an .iso of Maverick and install it over my current version, will it leave my data unharmed AND reset everything so that it works again?
View 5 Replies
View Related
Jul 10, 2011
Firefox 5.0 turns my screen gray, ties up the CPU in a loop, and turns the disc access LED on. ItÅ› FF 5.0 running on 11.04.
View 1 Replies
View Related
Jun 20, 2011
I send email from myself or external gets bounced. I get a nifty message mail for weasy.info loops back to myself. and could not relay for external messages.
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
[Code]...
View 1 Replies
View Related
Jun 27, 2011
Code:
#loop until there are no more files
while [ ${#files[@]} -gt 0 ]; do
for num in `seq 1 ${#files[@]}`; do
wurd=`tail -4 ${files[$num-1]}`
[code].....
Everything works.. but when it has to unset.. it breaks.. it doesnt give an error though.. it just jams the program.
View 7 Replies
View Related
Oct 28, 2010
I am trying to map the coordinates of a grid.
Code:
R=7 # number of rows (lines)
C=6 # number of columns
X=200 # initial horizontal location
Y=100 # initial vertical location
[code]....
View 4 Replies
View Related
Jun 16, 2011
does anyone know of any good music software for ubuntu that is similar to frooty loops in windows?
View 1 Replies
View Related
Apr 7, 2010
I don't know what I did differently before this happens. Now I cannot access files or see icons on the desktop. The "starting file manager" continuously loops in the bottom panel, continuing to load forever. in the system monitor, if I kill the process "gnome panel", it resets itself, then continues the process. Only thing different I did was install that one thing that gives you System->Preferences->Windows by hitting "yum install control-center-extra".
View 3 Replies
View Related
Jul 1, 2011
I have two servers relavant here: mail.domain.com (1.1.1.1) - which is the nameserver and the mail server for domain.com. www.domain.com (2.2.2.2) - which is the www subdomain for domain.com domain.com (cname www.domain.com) - an alias for www.
The zone file for domain.com lists mail.domain.com as the MX server for domain.com. 2.2.2.2 is actually being served web pages as a virtual host. It's real hostname is www.anotherdomain.com. Mail for domain.com works pretty well, in general. However, if I attempt to send mail from www.domain.com (or its alias domain.com), I get "mail for domain.com loops back to myself" in the postfix logs. On 2.2.2.2 /etc/postfix/mail.cf has mydestination = www.anotherdomain.com, localhost. How do I tell postfix on 2.2.2.2 that mail for domain.com needs to be delivered to mail.domain.com?
View 1 Replies
View Related
Sep 1, 2010
how to use telnet command
View 3 Replies
View Related
Dec 27, 2010
I have been using the net command for a while now to remotely shutdown my windows machine, I believe that it comes with the samba package.
"net rpc shutdown -f -I IP_ADDRESS -U USERNAME%PASSWORD"
I run a Ubuntu 10.10 x86 Netbook edition computer, and have recently updated my software because my computer asked me to and the net command recently stopped working so I assume this is the cause.
It was simply saying that the net command did not exist, but after playing around installing packages I installed samba4 and got it recognizing the command net. But it no longer works the same and does not support "rpc shutdown" nor does it appear to have any replacement for it.
Was the command simply depreciated? if so how can I stop this from happening again, I use net all the time and am not happy that it would disappear without warning.
Can I get the command back somehow, or do any of your have a replacement?
View 2 Replies
View Related
Mar 16, 2011
What does it do? Any examples on how I use it?
View 2 Replies
View Related
Feb 8, 2009
For what purpose does "nslookup" command should be used? Any examples.
View 4 Replies
View Related
Jan 7, 2010
I want to run ssh-keygen -f [filename] but also specify no password. I know the -N option is used to specify the password but putting -N with nothing after it isn't permitted.
View 4 Replies
View Related
May 10, 2011
command1:
ssh pt@192.168.1.101 ls
command2:
ssh pt@192.168.1.101 totem ~/t1
Cannot open display: Run 'totem --help' to see a full list of available command line options. command1 can run, command2 can not run,would you mind to tell me why?
View 2 Replies
View Related
Dec 25, 2010
I have linux as my host OS and windows as my guest OS on vmware. is there any possible way to execute linux commands from windows the guest OS? for example create new files, view files, ssh, check processes running... etc.
View 3 Replies
View Related
Sep 24, 2010
Let's say 4 users have logged in on 4 different Virtual Consoles:tty1 .... tty4On tty4 is logged in User4.How can I log out the User4 from my console using the root login?I just checked out the man page of shutdown but didn't find any hint there. The logout command is also not doing the work. We cannot specify a username wit it to log him/her out.
View 7 Replies
View Related
Oct 6, 2010
I was wondering... if I can "/etc/rc.d/init.d/NetworkManager stop" then, /sbin/service network restart, ifup wlan0. with out using /etc/rc.d/init.d/NetworkManager which other command I can use to get the AP around my place?
View 5 Replies
View Related