Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Keith

Pages: [1] 2 3 ... 62
1
Hardware Compatibility / Re: usb wireless adapter for Ubuntu18.04
« on: July 13, 2019, 08:06:27 am »
Many thanks, Mark.  The write-up looks good and I have ordered one and shall report the results. 

2
Hardware Compatibility / usb wireless adapter for Ubuntu18.04
« on: July 11, 2019, 10:36:46 pm »
I am preparing an ASUSTeK P6-P5G41E desktop running Ubuntu 18.04 to give to a friend.  Having fitted a 256GB SSD (thanks, Mark) it's working much faster I want now to find a suitable USB wireless dongle for it. 
I bought one from Amazon that mentioned Linux suitability but Ubuntu 18 ignored it.  So I tried to install the accompanying drivers from the CD but the PC refused to extract the files, telling me that I didn't have sufficient privileges!  So I sent it back. 
I have a very old Belkin 802.11g adapter so tried that and it connected immediately - which makes it a valuable item that I want to keep! 

Bizarrely, I can actually still buy the Belkin 802.11g from Amazon, which I might do, but a more modern one that works out of the box would be better. 
I see lots of questions on the forums about getting dongles to work with Ubuntu 18 and would be grateful for advice from anyone on a device that will work on U18 without having to install anything. 

Thanks

3
Ubuntu / Re: Network manager icon missing in Ubuntu 18.04
« on: July 11, 2019, 07:53:28 pm »
Perfect!  And it remains even when the terminal is closed.
You're a star! 

4
Ubuntu / Network manager icon missing in Ubuntu 18.04
« on: July 11, 2019, 01:24:16 pm »
ASUSTeK P6-P5G41E running Ubuntu 18.04

This machine doesn’t have a wireless card so before donating it I bought a USB wireless adapter (Bonest USB 3.0 ) as it mentioned Linux in the blurb.  I ignored the installation disk and plugged it in with no response from the system, which surprised me.  Indeed, the network manager told me that no dongle was detected.
Next I tried installing the Linux software from the disk but the extract command resulted in a message that I didn’t have sufficient privileges to do the extraction.  So I abandoned that to return the dongle to Amazon. 
At this point I noticed that the wireless manager icon had disappeared from the tray at top right.  Hmm!  I plugged in a very old, spare USB wireless adapter which connected me immediately, but still no icon. 
Looking on-line for possible solutions, I tried the following with no success:

keith@asus:~$ sudo service network-manager stop
keith@asus:~$ sudo rm /var/lib/NetworkManager/NetworkManager.state
keith@asus:~$ sudo service network-manager start
keith@asus:~$

keith@asus:~$ killall unity-panel-service
unity-panel-service: no process found
keith@asus:~$

keith@asus:~$ sudo apt-get install indicator-applet-complete
   Reading package lists... Done
   Building dependency tree       
   Reading state information... Done
   indicator-applet-complete is already the newest version (12.10.2+17.10.20170425-   0ubuntu1).
   indicator-applet-complete set to manually installed.
   0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
keith@asus:~$

keith@asus:~$ sudo apt-get install --reinstall network-manager network-manager-gnome
keith@asus:~$

Not having the icon is no real problem as I can always get to the network manager via the menus but it’s a nuisance if I am giving the machine to a friend and I would be grateful for advice.

5
General Help & Advice / Re: Formatting an SSD for system use
« on: July 09, 2019, 07:00:53 pm »
I'm all for safe - after all, youv'e seen how I can screw up!

My thanks once more, Mark.

6
General Help & Advice / Re: Formatting an SSD for system use
« on: July 09, 2019, 06:51:05 pm »
....and is that easy to do, or have just used the best method?

7
General Help & Advice / Re: Formatting an SSD for system use
« on: July 09, 2019, 06:10:16 pm »
Wonderful!  That worked a treat. 
Just for interest:  Is there a way of formatting a disk so it can be used as a system disk  i.e. with boot sector etc, without swapping discs. 

Very many thank, Mark.

8
General Help & Advice / Re: Formatting an SSD for system use
« on: July 09, 2019, 08:40:21 am »
Err, no:  The SSD has nothing on it.  Now don't laugh, but I formatted it using what's listed in System Tools as "USB Stick Formatter" which I think is Mintstick that you recommended.  And Gparted shows, as expected, that it has just the one partition. 

(By the way: the original HHD works fine in the ASUS - Ubuntu 18 - so the machine is OK)

With the SSD in the carrier and USB'd to the T500:
fdisk -l
keith@T500:~$ sudo fdisk -l
[sudo] password for keith:
Disk /dev/loop0: 88.5 MiB, 92778496 bytes, 181208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 88.4 MiB, 92692480 bytes, 181040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000f3af0

Device     Boot     Start        End   Sectors  Size Id Type
/dev/sda1  *         2048  996167679 996165632  475G 83 Linux
/dev/sda2       996169726 1000214527   4044802    2G  5 Extended
/dev/sda5       996169728 1000214527   4044800    2G 82 Linux swap / Solaris


Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xeee79879

Device     Boot Start       End   Sectors   Size Id Type
/dev/sdb1        1953 500118191 500116239 238.5G 83 Linux

Partition 1 does not start on physical sector boundary.
---------------------------------------------------
blkid
keith@T500:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/sda1: UUID="31cb07c7-a993-4e3c-b548-6d3ddff0e413" TYPE="ext4" PARTUUID="000f3af0-01"
/dev/sda5: UUID="121cbe20-2477-4919-9ed4-dc20871c8cd5" TYPE="swap" PARTUUID="000f3af0-05"
/dev/sdb1: LABEL="ASUS_SSD" UUID="32b85ac2-4540-4be3-ae38-4b9c73f589a3" TYPE="ext4" PARTUUID="eee79879-01"
keith@T500:~$
------------------------------------------------------

Your other questions:
The T500 is running Ubuntu 16.04
I used Mintstick to format the SSD (listed as "USB Stick Formatter" in the menu)
The Ubuntu 18 and Mint 18 Live USBs work fine on my T500
Hitting F12 with the Ubuntu 18 USB inserted in the T500 has no response - or do you mean doing this while booting the T500?


9
General Help & Advice / Re: Formatting an SSD for system use
« on: July 08, 2019, 10:51:05 pm »
The external label says: A5 P6-P5G41E BLA and the board label says:  PQ5PL10T/P6-P5G41E/DP_MB.  There is nothing else.

The BIOS makes no mention of UEFI that I recall.

I made the Live USB on my Lenovo T500 laptop by downloading the ISO then using "USB Stick Writer" to create it.  It works fine on other machines and I've also tried a Mint 18 Live USB with the same, null result.

10
General Help & Advice / Re: Formatting an SSD for system use
« on: July 08, 2019, 10:00:59 pm »
Thanks, Mark.

All the usual POST messages appear but then at the point when one would expect it to boot from the USB the screen goes blank with a flashing cursor (I ought to have been more accurate!). 
No, I don't know about nomodeset - how does one do that?

11
General Help & Advice / Formatting an SSD for system use
« on: July 08, 2019, 03:45:33 pm »
I bought a very cheap Asus with Mint on it and when visiting my local PC emporium I got the chap to swap the HDD for a 256GB SSD.  He checked out the system with windows (he’s a Windows only man).  Months later I get back to the Asus for the first time and it won’t let me boot a Live USB (despite changing the boot priority) and demanded that I register Windows. 

I extracted the device to a carrier and plugged it into a USB port on my Lenovo T500 laptop.  The response was:
Unable to mount 255 GB Volume
Error mounting /dev/sdb2 at /media/keith/FA24921C2491DC47: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sdb2" "/media/keith/FA24921C2491DC47"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sdb2': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Not understanding all this and impetuous as ever I decided to reformat it, not thinking that I would need a boot sector, etc.  So I now have a single Ext4 partition on it.  Plugging it back into the ASUS I tried to boot from an Ubuntu 18 live USB but the system just hung with a black screen. 

I’ve looked on line for how to partition the SSD but the instructions imply some knowledge that I don’t have. 
I’ve been very foolish but would be grateful for help in formatting it correctly (in a carrier USB’d to my Laptop) so that I can return it to the ASUS and Install Ubuntu 18. 

[Laptop:  Lenovo T500 64 bit and Ubuntu 16.04]

12
General Discussion / Re: Linux programming
« on: April 19, 2019, 06:34:25 pm »
Hi Wilton.

Sorry for the delay in replying - I didn't receive the usual auto-email until today !
Beginning with the book was very helpful and I soon got the hang of the basics.  As for intuitive: like most things it becomes intuitive with practice! 

The best way to get the hang of scripting is to have a definite task to perform and accept that one needs to refer to the book a lot at first.  I needed to do some really weird things and found many solutions on the web - in fact I that is my major source of solutions now.  This Forum is also a good source of info as there are so many knowledgeable people here willing to help.  As Mark once told me: "There are no daft questions". 
There are also the "man" pages - the scripting manual built into Linux.  I find it hard going but it's always worth trying first. 

Good luck with your scripting.
   Keith

13
Programming / Re: Using the "du" command with a file-list [SOLVED]
« on: March 27, 2019, 10:29:34 pm »
Easier still:

keith@dt05:~$ echo $(du -c $(cat .bin/backup_file_list) | tail -1 | cut -f 1)
11393972
keith@dt05:~$

This hasn't solved the more elegant method of using the du command option --files0-from=<file-list-path> but it does the job. 

14
Programming / Re: Using the "du" command with a file-list
« on: March 27, 2019, 10:02:04 pm »
Solved!

Example:
keith@dt05:~$ more .bin/backup_file_list
Desktop
Documents
Dropbox
Music
Pictures
Programming
Radio
.fonts
.bin
keith@dt05:~$ readarray -t list < .bin/backup_file_list
keith@dt05:~$ du -sc ${list[\@]}   (NB ignore the "\" used to display the "at" symbol)
74596   Desktop
2463444   Documents
142148   Dropbox
6730260   Music
1981068   Pictures
1484   Programming
36   Radio
224   .fonts
708   .bin
11393968   total
keith@dt05:~$

15
Hardware Compatibility / Re: USBs and DVDs not working
« on: March 27, 2019, 09:13:45 pm »
Abandoned as the owner of the PC is willing to scrap it.
But thanks to all for trying to help.

Pages: [1] 2 3 ... 62

SimplePortal 2.3.3 © 2008-2010, SimplePortal