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!