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.


Topics - Keith

Pages: [1] 2 3 ... 10
1
Linux Support / Can't do a manual fsck on root system [SOLVED]
« on: Yesterday at 04:15:19 pm »
Lenovo B50-10 running Ubuntu 18.04

A mate sent me his Lenovo laptop to fix as it wouldn't boot and indicated a manual fsck was necessary. 
It boots straight into the GRUB screen (without pressing the Shift key).  I selected "Advanced options for Ubuntu" and then selected "Recovery Mode" expecting to see another screen with a recovery mode menu so I could choose manual fsck, but it did an auto-fsck on /dev/sda2 and outputted two pages of stuff, exiting with Code 4 (which is just "File system errors left uncorrected"). 

Then followed the advice to run a manual fsck without the -a or -p options, finishing with "File system check of root file system failed.  Requires a manual fsck."

That it is performing fsck automatically at boot is making things difficult so I checked that the boot order is USB first then booted with an Ubuntu 20.04 USB in place with a view to running fsck from that - but this was ignored and it went into the usual routine. 

I found the GRUB command line screen (typing c at one point) but none of the commands I could think of were recognised. 

Any ideas, anyone? 

EDIT 1:  Discovered that Legacy Boot was not enabled!  I can now boot from a USB and will be able to back up files before messing with the system.

2
General Discussion / MOVED: Booting Linux mint
« on: August 23, 2021, 07:52:54 pm »
This topic has been moved to "Linux support" as it's most appropriate there.

https://linuxforums.org.uk/index.php?topic=14140.0

3
General Discussion / Changes to the Forum pages
« on: June 18, 2021, 04:18:04 pm »
Following a plea by one Forum Member, The Management has increased the font size.  What do you think?  Too big now or just right?  In particular, the post editing box has a larger font than the remainder of the site.  Is that useful? 

We want to make the Forum accessible to everyone but without putting people off. 
Please do let us have your views - after all it's your Forum. 

Keith

4
General Discussion / MOVED: yum install --nogpgcheck and friends
« on: May 16, 2021, 08:39:24 am »
This topic has been moved to the more appropriate "Linux Support" board. 

https://linuxforums.org.uk/index.php?topic=14092.0

5
Your posts
Most of the people who reply to your questions will not be professional computer experts, but just Linux users with more experience than you.  They will have other calls on their time (like a job or family) so please be patient if answers don’t appear immediately. 

Remember that there is no such thing as a “daft” question on this Forum.  All contributors have gone through the same learning curve as you have embarked upon, so don’t be reluctant to ask a question, no matter how simple it seems. 

Provide essential information in your post
Readers of your post are not clairvoyant and will have no idea of your system setup, so please always include enough information for them to place your questions in context.  For example;  the make/model of your computer; the operating system/version; and your printer/device also if that’s the subject of your post. 

Key combinations
You will often be asked to type or paste “key combinations” as part of an instruction.  It means that you press one key whilst already holding down one or more other keys.  If you have used office software to create documents you are already familiar with the process.  For example: Ctrl+c and Ctrl+v for cutting and pasting.  And you select text by clicking-and-dragging your cursor over the text to be highlighted for copying. 

It’s the same process in the Terminal (see the next paragraph) except that for historical reasons (you can ask if you’re interested) the key combinations are Ctrl+Shift+c and Ctrl+Shift+v for copy and paste, respectively. 

The Terminal
Almost all the advice you receive will involve entering commands into your computer using the “Terminal”.  This is simply an application which is just a blank, black window into which you type or paste instructions that you are given. 

You invoke the Terminal by either:
1. searching the menu for “Terminal” or, more simply…
2. entering Ctrl+Alt+t on the keyboard.

Initially, the only text on the terminal screen will be your user prompt.  Here’s mine:
[email protected]:~$
Before the “@” is my computer user-name and “T500” is the name I’ve given my computer. 
The “~” means you are set at your Home Directory and the “$” just marks the end of the prompt.  The user prompt will change to reflect which directory you are in at any time. 

Entering commands
Most of the commands that you will be asked to enter into the Terminal will be provided in a reply-post in the “code” box.  In copying the command it is safest to highlight it by clicking on [Select] just above the code box, then copying it using Ctrl+c

The computer has no idea when you have finished entering your instruction until you tell it by pressing the “Enter” key.  Many new users are not aware of this. 

Most of the commands that you encounter at first will appear almost magical in their brevity.  Don’t worry about that – all will become clear with practice, and by you asking for explanations.  Beware, though, that the Linux Command Line is addictive! 

6
Forum Rules / Forum Rules
« on: May 08, 2021, 03:32:13 pm »
The Forum Rules are mostly about respect for others and not abusing the function of the Forum. So:

1. Bad language – even of an apparently mild  nature – is deprecated.  If you want to emphasise a point, the English language is certainly adequate to the task in simple, accurate terms and without the use of mi**ing letters.

2. Discourtesy towards others – not just Forum members – is deprecated also. 

3. Personal rants about anything will be actively discouraged. 

4. Controversial issues  such as race, religion, politics, etc. should be avoided. 

5. Derogatory comments  Whilst comparisons between operating systems, hardware etc. can be useful, derogatory comments about specific ones are unnecessary and simply annoy their users.  Another form of discourtesy. 

6. Deliberate advertising  Any form of advertising is not allowed.  This does not mean that one cannot comment about the pros & cons of something in the General Discussion Board, but keep it objective.

7. Accuracy and completeness in one's posts is not just helpful, it saves a responder wasting a lot of time misinterpreting the problem/question.  Always provide as much information as you can about the system you are having trouble with or want to discuss. 
Always use the "Preview" button to see the final version of your post before publishing it, just to check you've expressed yourself appropriately. 

8. Personal Messaging is for just that: private communication between Members.  It is not a fast route to personal Linux advice from the staff. 

These Rules are not fixed and may change from time to time. 

7
General Discussion / MOVED: systemd >> Unit Files
« on: December 28, 2020, 09:39:36 pm »
This topic has been moved to "General Help & Advice".

[Systemd]

8
Linux Support / How to stop Kate text editor saving backups?
« on: December 09, 2020, 10:42:29 am »
I became fed up with the newer versions of the gedit text editor which, like many other applications, appears to be moving towards "mouse-only" commands.  I find it inconvenient to keep moving between keyboard and mouse just to do something that I used to be able to do with a few keystrokes while my hands are already on the keyboard.

So I moved to the Kate editor.  It's very good and is very configurable.  However;  I discovered recently that it saves a backup in XDP format of every file-save action.  Apparently this is a format that allows easy conversion between XML and PDF formats.  Not that I would ever want to do that.  And these files just keep mounting up. 

I found this link:  https://www.linuxquestions.org/questions/linux-newbie-8/how-to-prevent-backup-file-creation-kate-and-kwrite-940857/ that explains how to stop Kate from doing this, as follows:
Settings > Configure Kate > Editor Component > Open/Save > Advanced
Uncheck the box next to local files under "Backup on Save"

but when I navigated to that Kate settings page, the box was already un-ticked.

Does anyone have any experience of overcoming this feature?
Thanks.

Keith

{Ubuntu 18.04 on Lenovo Thinkpad T500.   Kate Version 20.04.0}

9
This topic has been moved to Genera Help & Advice as that seems a more appropriate place.

https://linuxforums.org.uk/index.php?topic=13906.0

10
General Discussion / MOVED: Wobbly and exploding windows!!!!
« on: August 10, 2020, 02:46:26 pm »
This topic has been moved to "General Help & Advice" as it seems more appropriate there.

https://linuxforums.org.uk/index.php?topic=13897.0

11
Linux Support / Identifying an Asus board
« on: July 12, 2020, 08:37:59 pm »
An elderly friend has an old Asus that I gave her ages ago.  It's a P6 P5G41 E with the PN5-E mother-board.  Can anyone tell me if it's 32 or 64 bit?  I have the manual but, bizarrely, it doesn't tell me! 
As she lives 120 miles away I don't want to pick it up for repair if it's only 32-bit - I'll give her another. 

Thanks

12
General Discussion / Covid-19, contact tracing and privacy
« on: June 26, 2020, 08:20:54 am »
I came across a couple of web pages that are relevant to our lock-down status and might be of interest to Forum readers.
The privacy issues of contact-tracing applications may account for the poor take-up of mobile 'phone "apps", and with good reason. Here are the links:
1. https://protonmail.com/blog/privacy-contact-tracing-apps/?utm_campaign=ww-en-2c-mail-coms_con-monthly_newsletter&utm_source=proton_users&utm_medium=link&utm_content=2020_june&utm_term=mail
2. https://ncase.me/contact-tracing/

By the way:  ProtonMail offers free and very secure mail and VPN services, and their customer care is first class even for non-paying users.  [I have no commercial interest in ProtonMail]

Keith

13
This topic has been moved to General Help & Advice as it seems more appropriate there.

https://linuxforums.org.uk/index.php?topic=12169.0

14
Linux Support / Sendmail problems
« on: February 12, 2020, 06:23:16 pm »
Lenovo Thinkpad T500 - Ubuntu 16.04

Since my email provider has updated its security arrangements it can’t accept my emails sent from  the command line with a sender name that is not my registered username – e.g. an alias.  This ought not be a problem as I have set up my /etc/ssmtp/ssmtp.conf file with my registered base address that ought to be used by sendmail:

ssmtp.conf
root=[email protected]
mailhub=mail.runbox.com:465

AuthUser=[email protected]
AuthPass={password}
UseTLS=YES
UseSSL=YES

rewriteDomain=mailco.com
hostname=T500
FromLineOverride=YES
--------------------------------------------------

But when I use sendmail, it removes my surname from the “From” address and my mail provider rejects the email as the From name is incorrect:

[email protected]:~/.bin$ sendmail -v [email protected]  < mail_message
[<-] 220 mailfront20.runbox ESMTP Exim 4.90_1 Ubuntu Wed, 12 Feb 2020 18:55:02 +0100
[->] EHLO T500
[<-] 250 HELP
[->] AUTH LOGIN
[<-] 334 VXNlcm5hbWU6
[->] a2VpdGhfc3RhbW1lcnNAcnVuYm94LmNvbQ==
[<-] 334 UGFzc3dvcmQ6
[<-] 235 Authentication succeeded
[->] MAIL FROM:<[email protected]>
[<-] 250 OK
[->] RCPT TO:<[email protected]>
[<-] 250 Accepted
[->] DATA
[<-] 354 Enter message, ending with "." on a line by itself
[->] Received: by T500 (sSMTP sendmail emulation); Wed, 12 Feb 2020 17:55:01 +0000
[->] From: "keith" <[email protected]>
[->] Date: Wed, 12 Feb 2020 17:55:01 +0000
[->]
[->] Text for message
[->]
[->] .
[<-] 550 Invalid From address. Please see https://help.mailco.com/identities/
sendmail: 550 Invalid From address. Please see https://help.mailco/identities/
[email protected]:~/.bin$

In principle I could add the name "[email protected]" to my account as an alias and that would work, but someone has already claimed that so I can't use it.
My mail provider has been unable to help me and I would be grateful for advice. 

15
Linux Support / mpack & sendmail problems
« on: January 05, 2020, 03:48:44 pm »
I wrote a script ages ago that sends me an email automatically when some function is satisfied.  It has worked well but failed recently, with a message appended suggesting that I visit my mail provider’s website that explains the problem.
Although my application uses mpack, I show below an example using sendmail to demonstrate the problem.  I’ve changed my email address and mail provider for security, but keeping the same formats. 

Terminal command

[email protected]:~$ echo "Subject: sendmail test" | sendmail -v [email protected]
[<-] 220 mailfront20.emailco ESMTP Exim 4.90_1 Ubuntu Wed, 01 Jan 2020 17:06:01 +0100
[->] EHLO T500
[<-] 250 HELP
[->] AUTH LOGIN
[<-] 334 VXNlcm5hbWU6
[->] a2VpdGhfc3RhbW1lcnNAcnVuYm94LmNvbQ==
[<-] 334 UGFzc3dvcmQ6
[<-] 235 Authentication succeeded
[->] MAIL FROM:<[email protected]>
[<-] 250 OK
[->] RCPT TO:<[email protected]>
[<-] 250 Accepted
[->] DATA
[<-] 354 Enter message, ending with "." on a line by itself
[->] Received: by T500 (sSMTP sendmail emulation); Wed, 01 Jan 2020 16:06:01 +0000
[->] From: "keith" <[email protected]>
[->] Date: Wed, 01 Jan 2020 16:06:01 +0000
[->] Subject: sendmail test
[->]
[->] .
[<-] 550 Invalid From address. Please see https://help.emailco.com/identities/
sendmail: 550 Invalid From address. Please see https://help.emailco.com/identities/
[email protected]:~$

You will see at the end the complaint that the From address is wrong and is rejected by my mail company following their updated security measures.  The correct address is shown on the “RCPT TO:” line but in the active line where the correct address needs to be the address has been shortened:  “MAIL FROM: <[email protected]>”.   And perhaps the other "From" line needs to be correct as well.

My email provider now requires that the from address is not an alias and the sSMTP.conf file (shown below) shows my base address correctly (as it always was).  I have even tried changing the Thunderbird default address back to the base address.  So I can’t understand why it has been changed in two places in sendmail.   

Contents of  etc/ssmtp/ssmtp.conf

# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
#root=postmaster
[email protected]

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
#mailhub=mail
mailhub=mail.emailco.com:465

[email protected]
AuthPass={my password}
UseTLS=YES
UseSSL=YES

# Where will the mail seem to come from?
#rewriteDomain=
rewriteDomain=emailco.com

# The full hostname
#hostname=MyMediaServer.home
hostname=T500

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES


I would be very grateful for any advice.

    Keith


Pages: [1] 2 3 ... 10

SimplePortal 2.3.3 © 2008-2010, SimplePortal