8
Ubuntu Server 12.10 not obtaining IP address until a user logs inview story

http://askubuntu.com – I just did a recent install of Ubuntu Server 12.10 (no GUI, command line only) on a new system. I noticed that upon booting the server does not obtain an IP address from my router. However, once I log into the machine locally the server shows up on my list of DCHP clients and I can connect remotely without issue. (HowTos)

8
Adding a line in vim adds it at the line after the cursor, I would like to insertview story

http://unix.stackexchange.com – I have this keybinding in .vimrc: map + :put=''<cr> map - dd I find it really useful for fast layout and source file cleaning with + and -. But using :put=""<cr> adds a line after the current cursor line, whereas dd removes a line at the current cursor. I'd rather have my + keybinding insert a line rather than add it after. What command should I try ? (HowTos)

8
migrating imap using imapsyncview story

http://serverfault.com – i have 2 centos vps, dovecot, sendmail and ssl are installed on both servers, i want to migrate the mail server from oldserver to newserver so i installed imapsync on both servers. (HowTos)

8
Lighttpd Redirect to SSL results in 301 redirect loopview story

http://serverfault.com – I am running lighttpd 1.4.31 with ssl support and am having an issue with forcing https on a specific virtualhost. If I disable the redirect line from the following config, it works as expect (http and https both working, but no redirection), but when I enable it, I find the browser gets cause in a loop of 301s. (HowTos)

8
[ubuntu] Postfix, Dovecot, MySQL, PostfixAdmin is not workingview story

http://ubuntuforums.org – I am trying to configure for the first a server to be used for multiple domains to get used to hosting situations I may encounter in my job. I have Postfix, Dovecot, MySQL, and Postfix admin configured. However, Postfix is not handing off mail delivery to the virtual mailbox. (Hardware)

8
[ubuntu] Ubuntu 12.10, kernel 3.5.0-25, error installing compat-wireless for wired connectionview story

http://ubuntuforums.org – hi, I have Ubuntu 12.10, kernel 3.5.0-25 , and did all the updates. The wired connection is not working and for get it working I must install compat wireless drivers. I have done this once but I reinstalled Ubuntu and now it doesn't work anymore. (Hardware)

8
How to stop HttpURLConnection .getInputStream()view story

http://stackoverflow.com – Below is my code: private HttpURLConnection connection; private InputStream is; public void upload() { try { URL url = new URL(URLPath); connection = (HttpURLConnection)url.openConnection(); connection.setConnectTimeout(30000); connection.setReadTimeout(30000); connection.setDoInput(true); connection.setUseCaches(false); connection.conne (HowTos)

8
putting multiple input line to the console | cursesview story

http://stackoverflow.com – I have started to write console with Python language. It is amazing. But, I have tried to create input box with curses as shown below. I have stucked in how I can put input line and get the input written on the input place on the console. Can you help me for this part ? I forget to ask _is it possible to create input box as shown below with curses ? (HowTos)

8
Optional argument to replace variable in bash scriptview story

http://stackoverflow.com – How can I pass an optional argument to a bash script that will replace an existing variable in the script? For example: #!/bin/bash #hostfinder.sh #Find hosts in current /24 network subnet=$(hostname -i | cut -d. (HowTos)

8
Rename multiple files in bashview story

http://stackoverflow.com – I have A.js, B.js, C.js in a certain directory and I want to write a SINGLE command line in bash shell to rename these files _A, _B, _C. How can I do this? I tried find -name '*.sh' | xargs -I file mv file basename file .sh but it doesn't work, basename file .sh isn't recognized as a nested command (HowTos)