Thursday, 12 February 2015

[ubuntu] Resize ubuntu main partition topic






Hello everyone,
I've already messed up with partitions, so now im afraid of touching anything. I'd like to reduce the size of ubuntu on my hard drive. I thought about using a gparted live version of linux, then resize the mount point (that's how / is called, isnt it?) of the currently installed ubuntu partition. I've read this article about this: https://help.ubuntu.com/community/Ho...izingPartition
It should be data-loss free, and I dont have to resize or move any other partitions (swap and co), right?
Thanks for helping me out :)






[ubuntu] how to genrate multicast traffic for PUMA protocol in NS-2.35? topic






hello everyone,
I'm working on multicast routing protocol in Manet's. For simulation using the tool NS-2. I want to know how to generate multicast traffic for PUMA or any other multicast protocol. Is it possible with "cbrgen",if yes than how? if anyone have any info please help me.
I'll be really thankful.






[ubuntu] Sound Applet shows no devices topic






Sound works. I can see audio devices if I go:

lspci -v | grep -A7 -i "audio"

Also I can hear it. ...but the sound applet displays no sound devices so it would not appear to be a device or driver issue. It would appear to be directly realted to the mixer applet. Hm... I'll install another PulseAudio mixer and check results.






Second monitor stuck sideways in 14.04.1 Unity topic






Second monitor stuck sideways in 14.04.1 Unity

Tried fixing this through System Settings > Displays

But the only options available for the Rotation option are “Counterclockwise” and “Clockwise.” No “Normal” option is available.

This second monitor is a SHARP X Flat TV.

The Displays setting utility names this second monitor as “Unknown Display.”

Clicking the “Detect Displays” button in the Displays setting utility changes nothing.

The signal for this second monitor is routed through a home theater receiver/amp before it reaches the TV.

The first monitor is a TOSHIBA TV/VGA Monitor thing and the Display settings utility names it specifically and correctly.

The computer is an HP Media Center PC m7250n desktop – dual boot Windows XP and Ubuntu 14.04.1. (Of course the dual monitor setup works perfectly in Windows XP.)

The video output is via a PCI video card.

So here is my lspci output:

00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 81)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 81)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV370 [Radeon X300]
01:00.1 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] RV370 [Radeon X300 SE]
02:01.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80)
02:03.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) Video Decoder (rev 01)
02:04.0 Mass storage controller: Promise Technology, Inc. 20269 (rev 02)
02:05.0 Communication controller: LSI Corporation 56k WinModem (rev 01)
02:08.0 Ethernet controller: Intel Corporation NM10/ICH7 Family LAN Controller (rev 01)

So, is there a way to get my second monitor normalized?

[P.S. Why did the Ubuntu folk design the second monitor function to output sideways only for unknown monitors? Like, wouldn't “Normal” have been a better default for that? Geeeeez.]






[Mupen64Plus + M64py FE] Terminal Installation Help topic






Hello!

After perusing the forums for several hours looking for specific help in installing a console emulator for my kids (specifically Mupen64Plus on Ubuntu 14.04 LTS), I have come to the official conclusion that I truly am making this harder than it really needs to be. So here's the breakdown.


  1. Initially I reverted to using Wine to emulate the Windows-based N64 program that I am most familiar with -- Project64. The process of installing both the application and Project64 program via the virtual desktop was relatively easy thanks to Ubuntu's Software Center. However...when it came to loading the actual ROM inside of the emulator, graphics became an issue. So for the fun of it I opened the terminal to reveal my display driver. (configuration: driver=i915 latency=0)


Code:


z3r0d4t4@HomeStudio:~$ lshw -c video
WARNING: you should run this program as super-user.
  *-display:0           
      description: VGA compatible controller
      product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 03
      width: 32 bits
      clock: 33MHz
      capabilities: vga_controller bus_master cap_list rom
      configuration: driver=i915 latency=0
      resources: irq:16 memory:eff00000-eff7ffff ioport:eff8(size=8) memory:d0000000-dfffffff memory:efec0000-efefffff
  *-display:1 UNCLAIMED
      description: Display controller
      product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
      vendor: Intel Corporation
      physical id: 2.1
      bus info: pci@0000:00:02.1
      version: 03
      width: 32 bits
      clock: 33MHz
      capabilities: bus_master cap_list
      configuration: latency=0
      resources: memory:eff80000-efffffff


...then I remembered how much of a pain in the keister it was to get the third-party plugins for Project64 to run ROMs at acceptable levels on my machine without dumping too many important textures. You know...those awesome graphics that make games such as Majora's Mask unplayable up to a point unless they are enabled? The Lens of Truth, for example, shows otherwise hidden interactive objects that are needed to progress further into the story. Needless to say, I have abandoned Project64 Wine emulation and have moved onto what many users here on the forum recommend -- Mupen64Plus. So let's install it from the repository.


Code:


$ sudo apt-get install mupen64plus

successful install...and then to update the package list...

Code:


$ sudo apt-get update

successful update...and then to upgrade...not sure if this is necessary...but why not?

Code:


$ sudo apt-get upgrade

...booting the program...

Code:


z3r0d4t4@HomeStudio:~$ mupen64plus
 __  __                        __  _  _  ____  _           
|  \/  |_  _ _ __  ___ _ __  / /_ | || | |  _ \| |_  _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __| 
| |  | | |_| | |_) |  __/ | | | (_) |__  _|  __/| | |_| \__ \ 
|_|  |_|\__,_| .__/ \___|_| |_|\___/  |_| |_|  |_|\__,_|___/ 
            |_|        http://code.google.com/p/mupen64plus/ 
Mupen64Plus Console User-Interface Version 2.0.0

UI-Console: attached to core library 'Mupen64Plus Core' version 2.0.0
UI-Console:            Includes support for Dynamic Recompiler.
UI-Console:            Includes support for MIPS r4300 Debugger.
UI-Console Error: no ROM filepath given
z3r0d4t4@HomeStudio:~$


OK, so it isn't recognizing the path to the ROM probably because I didn't type it in...whoops! Let's try the "drag-and-drop" method:

Code:


z3r0d4t4@HomeStudio:~$ '/home/z3r0d4t4/Desktop/MajorasMask.n64'

No dice...the terminal freezes for a few seconds and then returns to command line.

What do you guys/gals think? I am also attempting to install the M64py front end so I can skip the Terminal...but why? Here my D620's specs:

System Information:

Ubuntu 14.04 (trusty)
GNOME: 3.8.4 (Ubuntu 2014-03-17)
Kernel: 3.13.0-45-generic (#74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015)
OS Type: Linux
GCC Version: 4.8 (x86_64-linux-gnu)
Xorg Version: 1.15.1 (10 December 2014 06:15:52PM)

CPU & Memory:

Model: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Frequency: 1000.000 MHz
L2 Cache: 4096 KB
Memory: 2GB DDR2






Installing BURG left me with Grub Prompt topic






Fresh install of 14.10 on dual boot with win xp on an old net book. I managed to set up Grub to boot option into Win XP listed first. I pushed my luck attempting to "decorate" and installed Burg (which I learned since hasn't been supported since 2010). Now I'm left with a bunch of text and a Grub prompt "grub >" prompt after reboot. I'm a total noob with Linux and would appreciate any help in recovering from this hell I found myself in- a least painful method would be awesome.






mdadm changes the name of my new array to md127... topic






Hello everyone,

This has been bugging me for some time now. Every time I create a new array using mdadm the name is changed from what I originally specified.

Here's what I'm doing.

Created the array from two new disks:


Code:


mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1

Made the filesystem:


Code:


mkfs.ext3 /dev/md0

Updated mdadm.conf:


Code:


mdadm --detail --scan >> /etc/mdadm/mdadm.conf

Added the array to /etc/fstab:


Code:


/dev/md0 /mnt/mymountpoint ext3 defaults 0 1

Everything looks great... until I reboot the machine.

Upon reboot I receive the message that the filesystem on /dev/md0 is either missing or busy. I skip this... and then discover that my new array is no longer called /dev/md0.

Now, it is /dev/md127.

What am I doing wrong? This happens every time I create an array and on multiple different systems. I'm assuming that I'm just being an idiot here but your help is greatly appreciated as I would prefer for my arrays to retain the name I specify when creating them.

Thank you!






[Windows 8] usable ext4 driver? topic






I am using a multi-boot system with Ubuntu 14.04 as my main system.
From time to time, I need to run Windows 8.1 or Windows XP for some special tasks.
My data are on 3 NTFS partitions, I did not experience issues accessing them from Linux or Windows.
Except - NTFS gets slower with the time, needs defragmentation, occasionally.

So, I was contemplating to use ext4 for my data.
For access from Windows there are drivers like Paragon ExtFS or Ext2Fsd.
I have, for test, tried Paragon ExtFS (v2.73) with Windows 8.1, but the experience was devastating: While reading went ok, writing corrupted the ext4 file system. With some fsck work most data could be recovered, but the capacity of the partition decreased each time.
Maybe the actual Paragon ExtFS (v2.395) is better; but before I try, maybe some of you have already tried?
There is also Ext2Fsd, is that driver better?

If someone has experience with such a setup, please share.






Encrypted Channel Issues - Ceton topic






I have been able to get the Ceton card working with the un-encrypted channels with the install of a cable card. I worked with the guys at the cable company and they have turned on their 'premium' channels for me which include most of the basic channels in HD but they are encrypted. I have tested to make sure they are working within windows media center, but I cannot get them to work on Myth. I receive an error that reads 'Could not read first 2048 bytes...' - From reading around I have read that several people have had luck with the encrypted channels and some say that the cable card wasn't 'setup' correctly.

From the Ceton I see that the for example HistoryHD has the copy flag set to 'One copy' rather than 'copy freely' like the clear channels. Also, I can see that myth does change the channel but in the logs I see 'Channel is scrambled, expecting CCI'

Any help from the experts would be greatly appreciated!






[ubuntu] printer trouble topic






Hi


I am using Ubuntu 14.04.


I made an error trying to upgrade a programme (tried to intall a 32-bit package on a 64-bit system, could that be it?) and as a result several things broke (related to python?). My installation of Google Chrome seemed to have disappeared, as did my printer. I got Chrome back. And now I can see my wifi printer online (SyncThru Web Service) and print a proper testpage from there. But if I try to print from a regular programme, the printer (Samsung Xpress M2825DW) appears in the print dialogue, but the machine just spits out endless white pages with code on them.


I cannot use system-config-printer ('fail to connect to CUPS server', 'CUPS print spooler does not appear to be running', etc) to reinstall the printer or check the settings.


Could someone possibly walk me through some steps to try to fix this? I have been using Linux for 10 years but am not a very technical person.


thanks






LVM Setup on an already installed Ubuntu gnome server topic






Hello everyone, I'm trying to set up an LVM on my File sharing server. The server has ubuntu 14.04 lts 64 bit running on a pentium dual core E2140 @ 1.60Z GHz with 1gb of memory (will be getting upgraded to 2 gb). The server is also running the latest version of Gnome. For drives right now I have 7 drives in the server:

Model: ATA IC35L04AVVA07-0
Size: 31.50 GB
Path: /dev/sda
File System: NTFS

Model: ATA IC35L04AVVA07-0
Size: 31.50 GB
Path: /dev/sdb
File System: NTFS

Model: ATA WDC WD400BB-60DG
Size: 37.27 GB
Path: /dev/sdc (this is the OS hard drive)
File Systems: sdc1 - ext4 sdc2 - extended sdc5 - linux-swap

Model: ATA Quantum Fireball
Size: 19.01 GB
Path: /dev/sdd
File Systems: sdd1 - extended (unallocated)

Model: ATA ST3250310AS
Size: 232.83 GB
Path: /dev/sde
File System: NTFS

Model: ATA WDC WD3200AAJS-6
Size: 298.09 GB
Path: /dev/sdf
File System: NTFS

Model: WD I HDS72 External
Size: 465.76 GB
Path: /dev/sdg
File Systems: sdg1 - extended New Partition #1 - lvm2 pv

I have no cd roms in the tower and no usb flash drives to do a live cd boot. what I want to do is first setup the group with sdd and sdg and move the files from the other drives to it (except the os drive) then I want to add the other drives to the group making it act as a drive with a little over a TB is there any way to do this without having to do a clean install or boot from a live cd? (I really don't want to do a clean install it takes a long time to get everything running correctly) if any other info is needed please let me know and I will get it for you. Thank you for your time and help :-) Christopher J. Crandall






Switching access points from command line? topic






I'm using a Transcend WiFi SD card in a camera, which behaves as an access point (essid WIFISD).

I've been switching from my router (essid dd-wrt) to the WiFi card using the network manager applet so I can download images, but would like to do it from a command line, so I can automate the procedure.

I've had a fiddle with iwconfig without any success, and I'm not even sure if this is the way to go.

Does anyone have a suggestion of how I can switch between the access points from a command line, please?

Jim






Why do I need a ubuntu one account to download apps topic






While the usual tradition of linux distributions is to have repositories accessible to anyone, why do I need to have a ubuntu one account in order to download apps on the ubuntu store? While ubuntu has until now been very strong into providing open alternatives to mainline products, e.g. from microsoft or apple, this requirement is a serious threat to the open philosophy. I can't see any technical difficulty into not having accounts on the server side, and I am very worried about this.






[ubuntu] The system is running in low-graphics mode only when logging off user topic






I’m working on setting up Ubuntu 12.04.5 in a classroom environment here in San Antonio, Texas. We hope to replace several labs currently running Windows XP that connect to a Citrix farm. This version of Ubuntu was selected to be compatible with NetSupport software that teachers use to monitor a classroom.

The OS is installed on HP dc7700u and dc7600u computers. I followed online directions for creating a Windows 7-style Ubuntu desktop (looks and works very nice too). There are two user accounts on this system, one for Students without the rights to install applications (all games removed) and the other for Administrators with full access. On boot up, the Student ID is logged in with the option to not require a password (as seen below).




After having everything almost at the testing stage I came across a problem. I get a graphics error when I log off the student user to try to use the Administrator account. Up until this point, everything has been running great. As soon as I log off, the system locks up with “The system is running in low-graphics mode”, input device settings could not be detected correctly. The next option is “What would you like to do?”

  1. Run in low-graphics mode for just one session
  2. Reconfigure graphics
  3. Troubleshoot the error
  4. Exit to console login


In most cases the mouse and keyboard do not work. A couple of times when I could make a selection I have tried all options but nothing happened. I can power down the system and it boots into Student user without any problems.